home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Executable
(executable/macOSExecutable).
You can browse this item here: SCSI Info
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MacOS Executable (executable/macOSExecutable)
| magic
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, bundle, Thu Oct 25 00:59:22 1990, modified Thu Oct 25 00:59:22 1990, creator 'DcaP', type application, 23158 bytes "SCSI Info" , at 0x5af6 13972 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh Application (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [APPL] |
macFileCreator | [DcaP] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 53 43 53 49 20 49 | 6e 66 6f 00 00 00 00 00 |..SCSI I|nfo.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 44 63 61 | 50 21 00 00 00 00 00 00 |.APPLDca|P!......|
|00000050| 00 00 00 00 00 5a 76 00 | 00 36 94 a3 4c 21 aa a3 |.....Zv.|.6..L!..|
|00000060| 4c 21 aa 00 00 0c 00 00 | 00 00 00 00 00 00 00 00 |L!......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 35 e9 00 00 |........|....5...|
|00000080| 0d 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |..______|________|
|00000090| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 0d 0d 41 50 50 |________|__...APP|
|000000d0| 4c 45 20 55 53 45 52 20 | 45 44 55 43 41 54 49 4f |LE USER |EDUCATIO|
|000000e0| 4e 0d 0d 0d 0d 49 6e 73 | 69 64 65 20 4d 61 63 69 |N....Ins|ide Maci|
|000000f0| 6e 74 6f 73 68 20 56 6f | 6c 75 6d 65 20 49 56 3a |ntosh Vo|lume IV:|
|00000100| 0d 20 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 |. | The |
|00000110| 53 43 53 49 20 4d 61 6e | 61 67 65 72 0d 0d 0d 0d |SCSI Man|ager....|
|00000120| 0d 4d 6f 64 69 66 69 63 | 61 74 69 6f 6e 20 48 69 |.Modific|ation Hi|
|00000130| 73 74 6f 72 79 3a 09 50 | 72 65 6c 69 6d 69 6e 61 |story:.P|relimina|
|00000140| 72 79 20 44 72 61 66 74 | 09 42 6f 62 20 41 6e 64 |ry Draft|.Bob And|
|00000150| 65 72 73 09 31 32 2f 32 | 2f 38 35 0d 09 50 72 65 |ers.12/2|/85..Pre|
|00000160| 6c 69 6d 69 6e 61 72 79 | 20 44 72 61 66 74 09 42 |liminary| Draft.B|
|00000170| 6f 62 20 41 6e 64 65 72 | 73 09 31 2f 31 30 2f 38 |ob Ander|s.1/10/8|
|00000180| 36 0d 09 41 6c 70 68 61 | 20 44 72 61 66 74 09 42 |6..Alpha| Draft.B|
|00000190| 6f 62 20 41 6e 64 65 72 | 73 09 32 2f 35 2f 38 36 |ob Ander|s.2/5/86|
|000001a0| 0d 0d 0d 0d 54 68 69 73 | 20 64 6f 63 75 6d 65 6e |....This| documen|
|000001b0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 53 |t contai|ns the S|
|000001c0| 43 53 49 20 4d 61 6e 61 | 67 65 72 20 63 68 61 70 |CSI Mana|ger chap|
|000001d0| 74 65 72 20 6f 66 20 49 | 6e 73 69 64 65 20 4d 61 |ter of I|nside Ma|
|000001e0| 63 69 6e 74 6f 73 68 2e | 20 20 54 68 65 20 53 43 |cintosh.| The SC|
|000001f0| 53 49 20 4d 61 6e 61 67 | 65 72 20 63 6f 6e 74 72 |SI Manag|er contr|
|00000200| 6f 6c 73 20 74 68 65 20 | 65 78 63 68 61 6e 67 65 |ols the |exchange|
|00000210| 20 6f 66 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 | of info|rmation |
|00000220| 62 65 74 77 65 65 6e 20 | 61 20 4d 61 63 69 6e 74 |between |a Macint|
|00000230| 6f 73 68 20 61 6e 64 20 | 70 65 72 69 70 68 65 72 |osh and |peripher|
|00000240| 61 6c 20 64 65 76 69 63 | 65 73 20 63 6f 6e 6e 65 |al devic|es conne|
|00000250| 63 74 65 64 20 74 68 72 | 6f 75 67 68 20 74 68 65 |cted thr|ough the|
|00000260| 20 53 6d 61 6c 6c 20 43 | 6f 6d 70 75 74 65 72 20 | Small C|omputer |
|00000270| 53 74 61 6e 64 61 72 64 | 20 49 6e 74 65 72 66 61 |Standard| Interfa|
|00000280| 63 65 20 28 53 43 53 49 | 29 2e 0d 0d 0d 54 48 45 |ce (SCSI|)....THE|
|00000290| 20 53 43 53 49 20 4d 41 | 4e 41 47 45 52 20 20 0d | SCSI MA|NAGER .|
|000002a0| 0d 54 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 63 |.This do|cument c|
|000002b0| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 53 43 53 49 |ontains |the SCSI|
|000002c0| 20 4d 61 6e 61 67 65 72 | 20 63 68 61 70 74 65 72 | Manager| chapter|
|000002d0| 20 6f 66 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e | of Insi|de Macin|
|000002e0| 74 6f 73 68 2e 20 20 54 | 68 65 20 53 43 53 49 20 |tosh. T|he SCSI |
|000002f0| 4d 61 6e 61 67 65 72 20 | 63 6f 6e 74 72 6f 6c 73 |Manager |controls|
|00000300| 20 74 68 65 20 65 78 63 | 68 61 6e 67 65 20 6f 66 | the exc|hange of|
|00000310| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 62 65 74 | informa|tion bet|
|00000320| 77 65 65 6e 20 61 20 4d | 61 63 69 6e 74 6f 73 68 |ween a M|acintosh|
|00000330| 20 61 6e 64 20 70 65 72 | 69 70 68 65 72 61 6c 20 | and per|ipheral |
|00000340| 64 65 76 69 63 65 73 20 | 63 6f 6e 6e 65 63 74 65 |devices |connecte|
|00000350| 64 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 53 6d |d throug|h the Sm|
|00000360| 61 6c 6c 20 43 6f 6d 70 | 75 74 65 72 20 53 74 61 |all Comp|uter Sta|
|00000370| 6e 64 61 72 64 20 49 6e | 74 65 72 66 61 63 65 20 |ndard In|terface |
|00000380| 28 53 43 53 49 29 2e 0d | 0d 57 61 72 6e 69 6e 67 |(SCSI)..|.Warning|
|00000390| 3a 20 20 54 68 65 20 69 | 6e 66 6f 72 6d 61 74 69 |: The i|nformati|
|000003a0| 6f 6e 20 69 6e 20 74 68 | 69 73 20 64 6f 63 75 6d |on in th|is docum|
|000003b0| 65 6e 74 20 69 73 20 70 | 72 65 6c 69 6d 69 6e 61 |ent is p|relimina|
|000003c0| 72 79 20 61 6e 64 20 73 | 75 62 6a 65 63 74 20 74 |ry and s|ubject t|
|000003d0| 6f 20 63 68 61 6e 67 65 | 2e 0d 0d 0c 43 4f 4e 54 |o change|....CONT|
|000003e0| 45 4e 54 53 20 20 0d 0d | 09 34 09 41 62 6f 75 74 |ENTS ..|.4.About|
|000003f0| 20 54 68 69 73 20 43 68 | 61 70 74 65 72 0d 09 34 | This Ch|apter..4|
|00000400| 09 41 62 6f 75 74 20 74 | 68 65 20 53 43 53 49 20 |.About t|he SCSI |
|00000410| 4d 61 6e 61 67 65 72 0d | 09 35 09 55 73 69 6e 67 |Manager.|.5.Using|
|00000420| 20 74 68 65 20 53 43 53 | 49 20 4d 61 6e 61 67 65 | the SCS|I Manage|
|00000430| 72 0d 09 36 09 09 44 65 | 73 63 72 69 62 69 6e 67 |r..6..De|scribing|
|00000440| 20 74 68 65 20 4f 70 65 | 72 61 74 69 6f 6e 20 74 | the Ope|ration t|
|00000450| 6f 20 62 65 20 50 65 72 | 66 6f 72 6d 65 64 0d 09 |o be Per|formed..|
|00000460| 37 09 09 09 45 78 61 6d | 70 6c 65 0d 09 38 09 53 |7...Exam|ple..8.S|
|00000470| 43 53 49 20 4d 61 6e 61 | 67 65 72 20 52 6f 75 74 |CSI Mana|ger Rout|
|00000480| 69 6e 65 73 0d 09 31 30 | 09 57 72 69 74 69 6e 67 |ines..10|.Writing|
|00000490| 20 41 20 44 72 69 76 65 | 72 20 66 6f 72 20 61 20 | A Drive|r for a |
|000004a0| 53 43 53 49 20 42 6c 6f | 63 6b 20 44 65 76 69 63 |SCSI Blo|ck Devic|
|000004b0| 65 0d 09 31 32 09 09 41 | 70 70 6c 65 27 73 20 53 |e..12..A|pple's S|
|000004c0| 43 53 49 20 43 6f 6d 70 | 61 74 69 62 69 6c 69 74 |CSI Comp|atibilit|
|000004d0| 79 20 53 75 62 73 65 74 | 0d 09 31 33 09 53 75 6d |y Subset|..13.Sum|
|000004e0| 6d 61 72 79 20 6f 66 20 | 74 68 65 20 53 43 53 49 |mary of |the SCSI|
|000004f0| 20 4d 61 6e 61 67 65 72 | 0d 09 31 35 09 47 6c 6f | Manager|..15.Glo|
|00000500| 73 73 61 72 79 0d 0d 0c | 0d 5f 5f 5f 5f 5f 5f 5f |ssary...|._______|
|00000510| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000520| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000530| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000540| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000550| 5f 0d 0d 41 42 4f 55 54 | 20 54 48 49 53 20 43 48 |_..ABOUT| THIS CH|
|00000560| 41 50 54 45 52 20 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |APTER ._|________|
|00000570| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000580| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000590| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000005a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|000005b0| 54 68 69 73 20 63 68 61 | 70 74 65 72 20 64 65 73 |This cha|pter des|
|000005c0| 63 72 69 62 65 73 20 74 | 68 65 20 53 43 53 49 20 |cribes t|he SCSI |
|000005d0| 4d 61 6e 61 67 65 72 2c | 20 74 68 65 20 70 61 72 |Manager,| the par|
|000005e0| 74 20 6f 66 20 74 68 65 | 20 4f 70 65 72 61 74 69 |t of the| Operati|
|000005f0| 6e 67 20 53 79 73 74 65 | 6d 20 74 68 61 74 20 63 |ng Syste|m that c|
|00000600| 6f 6e 74 72 6f 6c 73 20 | 74 68 65 20 65 78 63 68 |ontrols |the exch|
|00000610| 61 6e 67 65 20 6f 66 20 | 69 6e 66 6f 72 6d 61 74 |ange of |informat|
|00000620| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 61 20 4d 61 |ion betw|een a Ma|
|00000630| 63 69 6e 74 6f 73 68 20 | 61 6e 64 20 70 65 72 69 |cintosh |and peri|
|00000640| 70 68 65 72 61 6c 20 64 | 65 76 69 63 65 73 20 63 |pheral d|evices c|
|00000650| 6f 6e 6e 65 63 74 65 64 | 20 74 68 72 6f 75 67 68 |onnected| through|
|00000660| 20 74 68 65 20 53 6d 61 | 6c 6c 20 43 6f 6d 70 75 | the Sma|ll Compu|
|00000670| 74 65 72 20 53 74 61 6e | 64 61 72 64 20 49 6e 74 |ter Stan|dard Int|
|00000680| 65 72 66 61 63 65 20 28 | 53 43 53 49 29 2e 0d 0d |erface (|SCSI)...|
|00000690| 54 68 65 20 53 43 53 49 | 20 4d 61 6e 61 67 65 72 |The SCSI| Manager|
|000006a0| 20 69 73 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 | is the |Macintos|
|000006b0| 68 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |h implem|entation|
|000006c0| 20 6f 66 20 61 20 53 43 | 53 49 20 62 75 73 20 61 | of a SC|SI bus a|
|000006d0| 6e 64 20 69 74 73 20 61 | 74 74 61 63 68 65 64 20 |nd its a|ttached |
|000006e0| 64 65 76 69 63 65 73 2e | 20 20 54 68 69 73 20 63 |devices.| This c|
|000006f0| 68 61 70 74 65 72 20 64 | 65 73 63 72 69 62 65 73 |hapter d|escribes|
|00000700| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 73 20 61 6e | the rou|tines an|
|00000710| 64 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |d data s|tructure|
|00000720| 73 20 79 6f 75 27 6c 6c | 20 75 73 65 20 74 6f 20 |s you'll| use to |
|00000730| 63 6f 6d 6d 75 6e 69 63 | 61 74 65 20 62 65 74 77 |communic|ate betw|
|00000740| 65 65 6e 20 61 20 4d 61 | 69 6e 74 6f 73 68 20 61 |een a Ma|intosh a|
|00000750| 6e 64 20 70 65 72 69 70 | 68 65 72 61 6c 73 20 6f |nd perip|herals o|
|00000760| 76 65 72 20 61 20 53 43 | 53 49 20 62 75 73 2e 20 |ver a SC|SI bus. |
|00000770| 20 49 74 20 61 6c 73 6f | 20 65 78 70 6c 61 69 6e | It also| explain|
|00000780| 73 20 68 6f 77 20 74 6f | 20 77 72 69 74 65 20 61 |s how to| write a|
|00000790| 20 53 43 53 49 20 64 65 | 76 69 63 65 20 64 72 69 | SCSI de|vice dri|
|000007a0| 76 65 72 20 74 68 61 74 | 27 73 20 63 61 70 61 62 |ver that|'s capab|
|000007b0| 6c 65 20 6f 66 20 70 65 | 72 66 6f 72 6d 69 6e 67 |le of pe|rforming|
|000007c0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 73 | the Mac|intosh s|
|000007d0| 79 73 74 65 6d 20 73 74 | 61 72 74 75 70 2e 0d 0d |ystem st|artup...|
|000007e0| 54 68 69 73 20 63 68 61 | 70 74 65 72 20 70 72 6f |This cha|pter pro|
|000007f0| 76 69 64 65 73 20 69 6e | 66 6f 72 6d 61 74 69 6f |vides in|formatio|
|00000800| 6e 20 6e 65 65 64 65 64 | 20 74 6f 20 63 6f 6e 6e |n needed| to conn|
|00000810| 65 63 74 20 61 20 64 65 | 76 69 63 65 20 74 6f 20 |ect a de|vice to |
|00000820| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 76 69 |the Maci|ntosh vi|
|00000830| 61 20 61 20 53 43 53 49 | 20 62 75 73 3b 20 69 74 |a a SCSI| bus; it|
|00000840| 20 69 73 20 6e 6f 74 20 | 69 6e 74 65 6e 64 65 64 | is not |intended|
|00000850| 20 61 73 20 61 20 67 75 | 69 64 65 20 74 6f 20 64 | as a gu|ide to d|
|00000860| 65 73 69 67 6e 69 6e 67 | 20 61 20 53 43 53 49 20 |esigning| a SCSI |
|00000870| 64 65 76 69 63 65 2e 20 | 20 41 20 66 61 6d 69 6c |device. | A famil|
|00000880| 69 61 72 69 74 79 20 77 | 69 74 68 20 74 68 65 20 |iarity w|ith the |
|00000890| 41 6d 65 72 69 63 61 6e | 20 4e 61 74 69 6f 6e 61 |American| Nationa|
|000008a0| 6c 20 53 74 61 6e 64 61 | 72 64 20 43 6f 6d 6d 69 |l Standa|rd Commi|
|000008b0| 74 74 65 65 20 28 41 4e | 53 43 29 20 64 6f 63 75 |ttee (AN|SC) docu|
|000008c0| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 53 43 |mentatio|n for SC|
|000008d0| 53 49 2c 20 73 70 65 63 | 69 66 69 63 61 6c 6c 79 |SI, spec|ifically|
|000008e0| 20 74 68 65 20 41 4e 53 | 43 20 58 33 54 39 2e 32 | the ANS|C X3T9.2|
|000008f0| 2f 38 32 2d 32 20 64 72 | 61 66 74 20 70 72 6f 70 |/82-2 dr|aft prop|
|00000900| 6f 73 61 6c 2c 20 69 73 | 20 61 73 73 75 6d 65 64 |osal, is| assumed|
|00000910| 3b 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |; the in|formatio|
|00000920| 6e 20 70 72 6f 76 69 64 | 65 64 20 69 6e 20 74 68 |n provid|ed in th|
|00000930| 65 20 64 72 61 66 74 20 | 70 72 6f 70 6f 73 61 6c |e draft |proposal|
|00000940| 20 77 69 6c 6c 20 6e 6f | 74 20 62 65 20 72 65 70 | will no|t be rep|
|00000950| 65 61 74 65 64 20 69 6e | 20 74 68 69 73 20 63 68 |eated in| this ch|
|00000960| 61 70 74 65 72 2e 0d 0d | 59 6f 75 20 73 68 6f 75 |apter...|You shou|
|00000970| 6c 64 20 61 6c 73 6f 20 | 61 6c 72 65 61 64 79 20 |ld also |already |
|00000980| 62 65 20 66 61 6d 69 6c | 69 61 72 20 77 69 74 68 |be famil|iar with|
|00000990| 3a 0d 0d a5 20 20 74 68 | 65 20 75 73 65 20 6f 66 |:... th|e use of|
|000009a0| 20 64 65 76 69 63 65 73 | 20 61 6e 64 20 64 65 76 | devices| and dev|
|000009b0| 69 63 65 20 64 72 69 76 | 65 72 73 2c 20 61 73 20 |ice driv|ers, as |
|000009c0| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 74 68 65 |describe|d in the|
|000009d0| 20 44 65 76 69 63 65 20 | 4d 61 6e 61 67 65 72 20 | Device |Manager |
|000009e0| 63 68 61 70 74 65 72 0d | 20 0d a5 20 20 73 65 63 |chapter.| .. sec|
|000009f0| 74 6f 72 73 20 61 6e 64 | 20 66 69 6c 65 20 74 61 |tors and| file ta|
|00000a00| 67 73 2c 20 61 73 20 64 | 65 73 63 72 69 62 65 64 |gs, as d|escribed|
|00000a10| 20 69 6e 20 74 68 65 20 | 44 69 73 6b 20 44 72 69 | in the |Disk Dri|
|00000a20| 76 65 72 20 63 68 61 70 | 74 65 72 0d 0d a5 20 20 |ver chap|ter... |
|00000a30| 61 6e 79 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |any docu|mentatio|
|00000a40| 6e 20 70 72 6f 76 69 64 | 65 64 20 77 69 74 68 20 |n provid|ed with |
|00000a50| 74 68 65 20 70 61 72 74 | 69 63 75 6c 61 72 20 53 |the part|icular S|
|00000a60| 43 53 49 20 64 65 76 69 | 63 65 20 79 6f 75 20 77 |CSI devi|ce you w|
|00000a70| 61 6e 74 20 74 6f 20 63 | 6f 6e 6e 65 63 74 20 74 |ant to c|onnect t|
|00000a80| 6f 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 0d |o the Ma|cintosh.|
|00000a90| 20 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f | .______|________|
|00000aa0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000ab0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000ac0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000ad0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 0d 41 42 4f 55 |________|__..ABOU|
|00000ae0| 54 20 54 48 45 20 53 43 | 53 49 20 4d 41 4e 41 47 |T THE SC|SI MANAG|
|00000af0| 45 52 20 20 0d 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ER .___|________|
|00000b00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000b10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000b20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000b30| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 54 68 |________|_____.Th|
|00000b40| 65 20 53 6d 61 6c 6c 20 | 43 6f 6d 70 75 74 65 72 |e Small |Computer|
|00000b50| 20 53 74 61 6e 64 61 72 | 64 20 49 6e 74 65 72 66 | Standar|d Interf|
|00000b60| 61 63 65 20 28 53 43 53 | 49 29 20 69 73 20 61 20 |ace (SCS|I) is a |
|00000b70| 73 70 65 63 69 66 69 63 | 61 74 69 6f 6e 20 6f 66 |specific|ation of|
|00000b80| 20 6d 65 63 68 61 6e 69 | 63 61 6c 2c 20 65 6c 65 | mechani|cal, ele|
|00000b90| 63 74 72 69 63 61 6c 2c | 20 61 6e 64 20 66 75 6e |ctrical,| and fun|
|00000ba0| 63 74 69 6f 6e 61 6c 20 | 73 74 61 6e 64 61 72 64 |ctional |standard|
|00000bb0| 73 20 66 6f 72 20 63 6f | 6e 6e 65 63 74 69 6e 67 |s for co|nnecting|
|00000bc0| 20 73 6d 61 6c 6c 20 63 | 6f 6d 70 75 74 65 72 73 | small c|omputers|
|00000bd0| 20 77 69 74 68 20 69 6e | 74 65 6c 6c 69 67 65 6e | with in|telligen|
|00000be0| 74 20 70 65 72 69 70 68 | 65 72 61 6c 73 20 73 75 |t periph|erals su|
|00000bf0| 63 68 20 61 73 20 68 61 | 72 64 20 64 69 73 6b 73 |ch as ha|rd disks|
|00000c00| 2c 20 70 72 69 6e 74 65 | 72 73 2c 20 61 6e 64 20 |, printe|rs, and |
|00000c10| 6f 70 74 69 63 61 6c 20 | 64 69 73 6b 73 2e 20 20 |optical |disks. |
|00000c20| 54 68 65 20 53 43 53 49 | 20 4d 61 6e 61 67 65 72 |The SCSI| Manager|
|00000c30| 20 69 73 20 74 68 65 20 | 70 61 72 74 20 6f 66 20 | is the |part of |
|00000c40| 74 68 65 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 |the Oper|ating Sy|
|00000c50| 73 74 65 6d 20 74 68 61 | 74 20 70 72 6f 76 69 64 |stem tha|t provid|
|00000c60| 65 73 20 72 6f 75 74 69 | 6e 65 73 20 61 6e 64 20 |es routi|nes and |
|00000c70| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 73 20 |data str|uctures |
|00000c80| 66 6f 72 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6e |for comm|unicatin|
|00000c90| 67 20 62 65 74 77 65 65 | 6e 20 61 20 4d 61 63 69 |g betwee|n a Maci|
|00000ca0| 6e 74 6f 73 68 20 61 6e | 64 20 70 65 72 69 70 68 |ntosh an|d periph|
|00000cb0| 65 72 61 6c 20 64 65 76 | 69 63 65 73 20 61 63 63 |eral dev|ices acc|
|00000cc0| 6f 72 64 69 6e 67 20 74 | 6f 20 74 68 69 73 20 69 |ording t|o this i|
|00000cd0| 6e 64 75 73 74 72 79 2d | 73 74 61 6e 64 61 72 64 |ndustry-|standard|
|00000ce0| 20 69 6e 74 65 72 66 61 | 63 65 2e 0d 0d 55 70 20 | interfa|ce...Up |
|00000cf0| 74 6f 20 65 69 67 68 74 | 20 64 65 76 69 63 65 73 |to eight| devices|
|00000d00| 20 63 61 6e 20 62 65 20 | 63 6f 6e 6e 65 63 74 65 | can be |connecte|
|00000d10| 64 2c 20 69 6e 20 61 20 | 64 61 69 73 79 2d 63 68 |d, in a |daisy-ch|
|00000d20| 61 69 6e 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ain conf|iguratio|
|00000d30| 6e 2c 20 74 6f 20 61 20 | 53 43 53 49 20 62 75 73 |n, to a |SCSI bus|
|00000d40| 2e 20 20 57 68 65 6e 20 | 74 77 6f 20 53 43 53 49 |. When |two SCSI|
|00000d50| 20 64 65 76 69 63 65 73 | 20 63 6f 6d 6d 75 6e 69 | devices| communi|
|00000d60| 63 61 74 65 20 77 69 74 | 68 20 65 61 63 68 20 6f |cate wit|h each o|
|00000d70| 74 68 65 72 2c 20 6f 6e | 65 20 61 63 74 73 20 61 |ther, on|e acts a|
|00000d80| 73 20 74 68 65 20 69 6e | 69 74 69 61 74 6f 72 20 |s the in|itiator |
|00000d90| 61 6e 64 20 74 68 65 20 | 6f 74 68 65 72 20 61 73 |and the |other as|
|00000da0| 20 74 68 65 20 74 61 72 | 67 65 74 2e 20 20 54 68 | the tar|get. Th|
|00000db0| 65 20 69 6e 69 74 69 61 | 74 6f 72 20 61 73 6b 73 |e initia|tor asks|
|00000dc0| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 70 | the tar|get to p|
|00000dd0| 65 72 66 6f 72 6d 20 61 | 20 63 65 72 74 61 69 6e |erform a| certain|
|00000de0| 20 6f 70 65 72 61 74 69 | 6f 6e 2c 20 73 75 63 68 | operati|on, such|
|00000df0| 20 61 73 20 72 65 61 64 | 69 6e 67 20 61 20 62 6c | as read|ing a bl|
|00000e00| 6f 63 6b 20 6f 66 20 64 | 61 74 61 2e 20 20 41 20 |ock of d|ata. A |
|00000e10| 53 43 53 49 20 64 65 76 | 69 63 65 20 74 79 70 69 |SCSI dev|ice typi|
|00000e20| 63 61 6c 6c 79 20 68 61 | 73 20 61 20 66 69 78 65 |cally ha|s a fixe|
|00000e30| 64 20 72 6f 6c 65 20 61 | 73 20 61 6e 20 69 6e 69 |d role a|s an ini|
|00000e40| 74 69 61 74 6f 72 20 6f | 72 20 74 61 72 67 65 74 |tiator o|r target|
|00000e50| 3b 20 66 6f 72 20 69 6e | 73 74 61 6e 63 65 2c 20 |; for in|stance, |
|00000e60| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 61 63 |the Maci|ntosh ac|
|00000e70| 74 73 20 61 73 20 69 6e | 69 74 69 61 74 6f 72 20 |ts as in|itiator |
|00000e80| 74 6f 20 61 20 76 61 72 | 69 65 74 79 20 6f 66 20 |to a var|iety of |
|00000e90| 70 65 72 69 70 68 65 72 | 61 6c 73 20 61 63 74 69 |peripher|als acti|
|00000ea0| 6e 67 20 61 73 20 74 61 | 72 67 65 74 73 2e 20 20 |ng as ta|rgets. |
|00000eb0| 54 68 65 72 65 20 6d 61 | 79 20 61 6c 73 6f 20 62 |There ma|y also b|
|00000ec0| 65 20 69 6e 74 65 6c 6c | 69 67 65 6e 74 20 70 65 |e intell|igent pe|
|00000ed0| 72 69 70 68 65 72 61 6c | 73 20 63 61 70 61 62 6c |ripheral|s capabl|
|00000ee0| 65 20 6f 66 20 61 63 74 | 69 6e 67 20 61 73 20 69 |e of act|ing as i|
|00000ef0| 6e 69 74 69 61 74 6f 72 | 73 2e 20 20 4d 75 6c 74 |nitiator|s. Mult|
|00000f00| 69 70 6c 65 20 69 6e 69 | 74 69 61 74 6f 72 73 20 |iple ini|tiators |
|00000f10| 28 61 73 20 77 65 6c 6c | 20 61 73 20 6d 75 6c 74 |(as well| as mult|
|00000f20| 69 70 6c 65 20 74 61 72 | 67 65 74 73 29 20 61 72 |iple tar|gets) ar|
|00000f30| 65 20 61 6c 6c 6f 77 65 | 64 20 6f 6e 20 61 20 53 |e allowe|d on a S|
|00000f40| 43 53 49 20 62 75 73 2c | 20 62 75 74 20 6f 6e 6c |CSI bus,| but onl|
|00000f50| 79 20 6f 6e 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |y one Ma|cintosh |
|00000f60| 63 61 6e 20 62 65 20 63 | 6f 6e 6e 65 63 74 65 64 |can be c|onnected|
|00000f70| 20 74 6f 20 61 20 53 43 | 53 49 20 62 75 73 20 61 | to a SC|SI bus a|
|00000f80| 74 20 61 20 74 69 6d 65 | 2e 0d 0d 45 61 63 68 20 |t a time|...Each |
|00000f90| 64 65 76 69 63 65 20 6f | 6e 20 74 68 65 20 62 75 |device o|n the bu|
|00000fa0| 73 20 68 61 73 20 61 6e | 20 49 44 2c 20 61 6e 20 |s has an| ID, an |
|00000fb0| 69 6e 74 65 67 65 72 20 | 66 72 6f 6d 20 30 20 74 |integer |from 0 t|
|00000fc0| 6f 20 37 2e 20 20 54 68 | 65 20 4d 61 63 69 6e 74 |o 7. Th|e Macint|
|00000fd0| 6f 73 68 20 61 6c 77 61 | 79 73 20 68 61 73 20 61 |osh alwa|ys has a|
|00000fe0| 6e 20 49 44 20 6f 66 20 | 37 3b 20 70 65 72 69 70 |n ID of |7; perip|
|00000ff0| 68 65 72 61 6c 20 64 65 | 76 69 63 65 73 20 73 68 |heral de|vices sh|
|00001000| 6f 75 6c 64 20 63 68 6f | 6f 73 65 20 61 6e 6f 74 |ould cho|ose anot|
|00001010| 68 65 72 20 6e 75 6d 62 | 65 72 2e 20 20 20 20 20 |her numb|er. |
|00001020| 0d 0d 41 74 20 61 6e 79 | 20 67 69 76 65 6e 20 74 |..At any| given t|
|00001030| 69 6d 65 2c 20 74 68 65 | 20 41 70 70 6c 65 20 53 |ime, the| Apple S|
|00001040| 43 53 49 20 62 75 73 20 | 69 73 20 69 6e 20 6f 6e |CSI bus |is in on|
|00001050| 65 20 6f 66 20 65 69 67 | 68 74 20 70 68 61 73 65 |e of eig|ht phase|
|00001060| 73 2e 20 20 57 68 65 6e | 20 6e 6f 20 53 43 53 49 |s. When| no SCSI|
|00001070| 20 64 65 76 69 63 65 20 | 69 73 20 61 63 74 69 76 | device |is activ|
|00001080| 65 6c 79 20 75 73 69 6e | 67 20 74 68 65 20 62 75 |ely usin|g the bu|
|00001090| 73 2c 20 74 68 65 20 62 | 75 73 20 69 73 20 69 6e |s, the b|us is in|
|000010a0| 20 74 68 65 20 62 75 73 | 20 66 72 65 65 20 70 68 | the bus| free ph|
|000010b0| 61 73 65 2e 0d 0d 53 69 | 6e 63 65 20 6d 75 6c 74 |ase...Si|nce mult|
|000010c0| 69 70 6c 65 20 69 6e 69 | 74 69 61 74 6f 72 73 20 |iple ini|tiators |
|000010d0| 61 72 65 20 70 6f 73 73 | 69 62 6c 65 2c 20 61 6e |are poss|ible, an|
|000010e0| 20 69 6e 69 74 69 61 74 | 6f 72 20 6d 75 73 74 20 | initiat|or must |
|000010f0| 66 69 72 73 74 20 67 61 | 69 6e 20 63 6f 6e 74 72 |first ga|in contr|
|00001100| 6f 6c 20 6f 66 20 74 68 | 65 20 62 75 73 3b 20 74 |ol of th|e bus; t|
|00001110| 68 69 73 20 70 72 6f 63 | 65 73 73 20 69 73 20 63 |his proc|ess is c|
|00001120| 61 6c 6c 65 64 20 74 68 | 65 20 61 72 62 69 74 72 |alled th|e arbitr|
|00001130| 61 74 69 6f 6e 20 70 68 | 61 73 65 2e 0d 0d 4e 6f |ation ph|ase...No|
|00001140| 74 65 3a 20 20 49 66 20 | 6d 6f 72 65 20 74 68 61 |te: If |more tha|
|00001150| 6e 20 6f 6e 65 20 69 6e | 69 74 69 61 74 6f 72 20 |n one in|itiator |
|00001160| 61 72 62 69 74 72 61 74 | 65 73 20 66 6f 72 20 75 |arbitrat|es for u|
|00001170| 73 65 20 6f 66 20 74 68 | 65 20 62 75 73 20 61 74 |se of th|e bus at|
|00001180| 20 74 68 65 20 73 61 6d | 65 20 74 69 6d 65 2c 20 | the sam|e time, |
|00001190| 74 68 65 20 69 6e 69 74 | 69 61 74 6f 72 20 77 69 |the init|iator wi|
|000011a0| 74 68 20 74 68 65 20 68 | 69 67 68 65 72 20 49 44 |th the h|igher ID|
|000011b0| 20 67 61 69 6e 73 20 63 | 6f 6e 74 72 6f 6c 20 66 | gains c|ontrol f|
|000011c0| 69 72 73 74 2e 20 20 4f | 6e 63 65 20 61 6e 20 69 |irst. O|nce an i|
|000011d0| 6e 69 74 69 61 74 6f 72 | 20 28 72 65 67 61 72 64 |nitiator| (regard|
|000011e0| 6c 65 73 73 20 6f 66 20 | 49 44 29 20 67 61 69 6e |less of |ID) gain|
|000011f0| 73 20 63 6f 6e 74 72 6f | 6c 20 6f 66 20 74 68 65 |s contro|l of the|
|00001200| 20 62 75 73 2c 20 6e 6f | 20 6f 74 68 65 72 20 64 | bus, no| other d|
|00001210| 65 76 69 63 65 20 63 61 | 6e 20 69 6e 74 65 72 72 |evice ca|n interr|
|00001220| 75 70 74 20 74 68 61 74 | 20 73 65 73 73 69 6f 6e |upt that| session|
|00001230| 2e 0d 0d 4f 6e 63 65 20 | 74 68 65 20 69 6e 69 74 |...Once |the init|
|00001240| 69 61 74 6f 72 20 68 61 | 73 20 67 61 69 6e 65 64 |iator ha|s gained|
|00001250| 20 63 6f 6e 74 72 6f 6c | 20 6f 66 20 74 68 65 20 | control| of the |
|00001260| 62 75 73 2c 20 69 74 20 | 73 65 6c 65 63 74 73 20 |bus, it |selects |
|00001270| 74 68 65 20 74 61 72 67 | 65 74 20 64 65 76 69 63 |the targ|et devic|
|00001280| 65 20 74 68 61 74 20 77 | 69 6c 6c 20 62 65 20 61 |e that w|ill be a|
|00001290| 73 6b 65 64 20 74 6f 20 | 70 65 72 66 6f 72 6d 20 |sked to |perform |
|000012a0| 61 20 63 65 72 74 61 69 | 6e 20 6f 70 65 72 61 74 |a certai|n operat|
|000012b0| 69 6f 6e 3b 20 74 68 69 | 73 20 70 68 61 73 65 2c |ion; thi|s phase,|
|000012c0| 20 6b 6e 6f 77 6e 20 61 | 73 20 74 68 65 20 73 65 | known a|s the se|
|000012d0| 6c 65 63 74 69 6f 6e 20 | 70 68 61 73 65 2c 20 69 |lection |phase, i|
|000012e0| 6e 63 6c 75 64 65 73 20 | 61 6e 20 61 63 6b 6e 6f |ncludes |an ackno|
|000012f0| 77 6c 65 64 67 65 6d 65 | 6e 74 20 66 72 6f 6d 20 |wledgeme|nt from |
|00001300| 74 68 65 20 74 61 72 67 | 65 74 20 74 68 61 74 20 |the targ|et that |
|00001310| 69 74 20 68 61 73 20 62 | 65 65 6e 20 73 65 6c 65 |it has b|een sele|
|00001320| 63 74 65 64 2e 20 20 49 | 6e 20 74 68 65 20 65 76 |cted. I|n the ev|
|00001330| 65 6e 74 20 74 68 61 74 | 20 74 68 65 20 74 61 72 |ent that| the tar|
|00001340| 67 65 74 20 73 75 73 70 | 65 6e 64 73 20 28 6f 72 |get susp|ends (or|
|00001350| 20 64 69 73 63 6f 6e 6e | 65 63 74 73 29 20 74 68 | disconn|ects) th|
|00001360| 65 20 63 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 2c |e commun|ication,|
|00001370| 20 61 6e 20 6f 70 74 69 | 6f 6e 61 6c 20 70 68 61 | an opti|onal pha|
|00001380| 73 65 2c 20 6b 6e 6f 77 | 6e 20 61 73 20 74 68 65 |se, know|n as the|
|00001390| 20 72 65 73 65 6c 65 63 | 74 69 6f 6e 20 70 68 61 | reselec|tion pha|
|000013a0| 73 65 2c 20 6c 65 74 73 | 20 74 68 65 20 74 61 72 |se, lets| the tar|
|000013b0| 67 65 74 20 72 65 63 6f | 6e 6e 65 63 74 20 74 6f |get reco|nnect to|
|000013c0| 20 74 68 65 20 69 6e 69 | 74 69 61 74 6f 72 2e 20 | the ini|tiator. |
|000013d0| 0d 0d 4e 6f 74 65 3a 20 | 20 54 68 65 20 53 43 53 |..Note: | The SCS|
|000013e0| 49 20 4d 61 6e 61 67 65 | 72 20 61 6c 6c 6f 77 73 |I Manage|r allows|
|000013f0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 74 | the Mac|intosh t|
|00001400| 68 65 20 6f 70 74 69 6f | 6e 20 6f 66 20 64 69 73 |he optio|n of dis|
|00001410| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 61 6e 64 20 72 |connecti|on and r|
|00001420| 65 73 65 6c 65 63 74 69 | 6f 6e 2e 20 20 49 74 20 |eselecti|on. It |
|00001430| 69 73 20 67 65 6e 65 72 | 61 6c 6c 79 20 72 65 63 |is gener|ally rec|
|00001440| 6f 6d 6d 65 6e 64 65 64 | 20 74 68 61 74 20 61 6c |ommended| that al|
|00001450| 6c 20 74 61 72 67 65 74 | 20 64 65 76 69 63 65 73 |l target| devices|
|00001460| 20 62 65 20 63 61 70 61 | 62 6c 65 20 6f 66 20 64 | be capa|ble of d|
|00001470| 69 73 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 61 6e 64 |isconnec|tion and|
|00001480| 20 72 65 73 65 6c 65 63 | 74 69 6f 6e 20 61 73 20 | reselec|tion as |
|00001490| 77 65 6c 6c 2e 20 0d 0d | 49 6e 20 74 68 65 20 63 |well. ..|In the c|
|000014a0| 6f 6d 6d 61 6e 64 20 70 | 68 61 73 65 2c 20 74 68 |ommand p|hase, th|
|000014b0| 65 20 69 6e 69 74 69 61 | 74 6f 72 20 74 65 6c 6c |e initia|tor tell|
|000014c0| 73 20 74 68 65 20 74 61 | 72 67 65 74 20 77 68 61 |s the ta|rget wha|
|000014d0| 74 20 6f 70 65 72 61 74 | 69 6f 6e 20 74 6f 20 70 |t operat|ion to p|
|000014e0| 65 72 66 6f 72 6d 2e 20 | 20 54 68 65 20 64 61 74 |erform. | The dat|
|000014f0| 61 20 70 68 61 73 65 20 | 66 6f 6c 6c 6f 77 73 3b |a phase |follows;|
|00001500| 20 74 68 69 73 20 69 73 | 20 77 68 65 6e 20 74 68 | this is| when th|
|00001510| 65 20 61 63 74 75 61 6c | 20 74 72 61 6e 73 66 65 |e actual| transfe|
|00001520| 72 20 6f 66 20 64 61 74 | 61 20 62 65 74 77 65 65 |r of dat|a betwee|
|00001530| 6e 20 69 6e 69 74 69 61 | 74 6f 72 20 61 6e 64 20 |n initia|tor and |
|00001540| 74 61 72 67 65 74 20 74 | 61 6b 65 73 20 70 6c 61 |target t|akes pla|
|00001550| 63 65 2e 20 20 57 68 65 | 6e 20 74 68 65 20 6f 70 |ce. Whe|n the op|
|00001560| 65 72 61 74 69 6f 6e 20 | 69 73 20 63 6f 6d 70 6c |eration |is compl|
|00001570| 65 74 65 64 2c 20 74 68 | 65 20 74 61 72 67 65 74 |eted, th|e target|
|00001580| 20 73 65 6e 64 73 20 74 | 77 6f 20 63 6f 6d 70 6c | sends t|wo compl|
|00001590| 65 74 69 6f 6e 20 62 79 | 74 65 73 2e 20 20 54 68 |etion by|tes. Th|
|000015a0| 65 20 66 69 72 73 74 20 | 62 79 74 65 20 63 6f 6e |e first |byte con|
|000015b0| 74 61 69 6e 73 20 73 74 | 61 74 75 73 20 69 6e 66 |tains st|atus inf|
|000015c0| 6f 72 6d 61 74 69 6f 6e | 20 61 6e 64 20 74 68 65 |ormation| and the|
|000015d0| 20 73 65 63 6f 6e 64 20 | 63 6f 6e 74 61 69 6e 73 | second |contains|
|000015e0| 20 61 20 6d 65 73 73 61 | 67 65 3b 20 74 68 65 79 | a messa|ge; they|
|000015f0| 20 63 6f 6e 73 74 69 74 | 75 74 65 20 74 68 65 20 | constit|ute the |
|00001600| 73 74 61 74 75 73 20 70 | 68 61 73 65 20 61 6e 64 |status p|hase and|
|00001610| 20 6d 65 73 73 61 67 65 | 20 70 68 61 73 65 20 72 | message| phase r|
|00001620| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 0d 0d 41 20 |espectiv|ely...A |
|00001630| 74 79 70 69 63 61 6c 20 | 63 6f 6d 6d 75 6e 69 63 |typical |communic|
|00001640| 61 74 69 6f 6e 20 6d 69 | 67 68 74 20 69 6e 76 6f |ation mi|ght invo|
|00001650| 6c 76 65 20 61 20 4d 61 | 63 69 6e 74 6f 73 68 20 |lve a Ma|cintosh |
|00001660| 72 65 71 75 65 73 74 69 | 6e 67 20 61 20 62 6c 6f |requesti|ng a blo|
|00001670| 63 6b 20 6f 66 20 64 61 | 74 61 20 74 6f 20 62 65 |ck of da|ta to be|
|00001680| 20 72 65 61 64 20 66 72 | 6f 6d 20 61 20 68 61 72 | read fr|om a har|
|00001690| 64 20 64 69 73 6b 20 63 | 6f 6e 6e 65 63 74 65 64 |d disk c|onnected|
|000016a0| 20 76 69 61 20 61 20 53 | 43 53 49 20 62 75 73 2e | via a S|CSI bus.|
|000016b0| 20 20 54 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 | The Ma|cintosh |
|000016c0| 77 61 69 74 73 20 66 6f | 72 20 61 20 62 75 73 20 |waits fo|r a bus |
|000016d0| 66 72 65 65 20 70 68 61 | 73 65 20 74 6f 20 6f 63 |free pha|se to oc|
|000016e0| 63 75 72 20 61 6e 64 20 | 74 68 65 6e 20 61 72 62 |cur and |then arb|
|000016f0| 69 74 72 61 74 65 73 20 | 66 6f 72 20 75 73 65 20 |itrates |for use |
|00001700| 6f 66 20 74 68 65 20 62 | 75 73 2e 20 20 49 74 20 |of the b|us. It |
|00001710| 73 65 6c 65 63 74 73 20 | 74 68 65 20 68 61 72 64 |selects |the hard|
|00001720| 20 64 69 73 6b 20 61 73 | 20 74 61 72 67 65 74 20 | disk as| target |
|00001730| 61 6e 64 20 73 65 6e 64 | 73 20 74 68 65 20 63 6f |and send|s the co|
|00001740| 6d 6d 61 6e 64 20 66 6f | 72 20 74 68 65 20 72 65 |mmand fo|r the re|
|00001750| 61 64 20 6f 70 65 72 61 | 74 69 6f 6e 2e 20 20 54 |ad opera|tion. T|
|00001760| 68 65 20 68 61 72 64 20 | 64 69 73 6b 20 74 72 61 |he hard |disk tra|
|00001770| 6e 73 66 65 72 73 20 74 | 68 65 20 72 65 71 75 65 |nsfers t|he reque|
|00001780| 73 74 65 64 20 64 61 74 | 61 20 62 61 63 6b 20 74 |sted dat|a back t|
|00001790| 6f 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 2c |o the Ma|cintosh,|
|000017a0| 20 63 6f 6d 70 6c 65 74 | 69 6e 67 20 74 68 65 20 | complet|ing the |
|000017b0| 73 65 73 73 69 6f 6e 20 | 62 79 20 73 65 6e 64 69 |session |by sendi|
|000017c0| 6e 67 20 74 68 65 20 73 | 74 61 74 75 73 20 61 6e |ng the s|tatus an|
|000017d0| 64 20 6d 65 73 73 61 67 | 65 20 62 79 74 65 73 2e |d messag|e bytes.|
|000017e0| 0d 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |..______|________|
|000017f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001800| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001810| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001820| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 0d 55 53 49 4e |________|__..USIN|
|00001830| 47 20 54 48 45 20 53 43 | 53 49 20 4d 41 4e 41 47 |G THE SC|SI MANAG|
|00001840| 45 52 0d 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ER._____|________|
|00001850| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001860| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001870| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001880| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 0d 54 68 65 20 |________|___.The |
|00001890| 53 43 53 49 20 4d 61 6e | 61 67 65 72 20 69 73 20 |SCSI Man|ager is |
|000018a0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 69 6e |automati|cally in|
|000018b0| 69 74 69 61 6c 69 7a 65 | 64 20 77 68 65 6e 20 74 |itialize|d when t|
|000018c0| 68 65 20 73 79 73 74 65 | 6d 20 73 74 61 72 74 73 |he syste|m starts|
|000018d0| 20 75 70 2e 20 20 54 6f | 20 67 61 69 6e 20 63 6f | up. To| gain co|
|000018e0| 6e 74 72 6f 6c 20 6f 66 | 20 74 68 65 20 53 43 53 |ntrol of| the SCS|
|000018f0| 49 20 62 75 73 2c 20 63 | 61 6c 6c 20 53 43 53 49 |I bus, c|all SCSI|
|00001900| 47 65 74 2e 20 20 54 6f | 20 73 65 6c 65 63 74 20 |Get. To| select |
|00001910| 61 20 74 61 72 67 65 74 | 20 64 65 76 69 63 65 20 |a target| device |
|00001920| 74 6f 20 70 65 72 66 6f | 72 6d 20 61 6e 20 6f 70 |to perfo|rm an op|
|00001930| 65 72 61 74 69 6f 6e 20 | 28 73 75 63 68 20 61 73 |eration |(such as|
|00001940| 20 72 65 61 64 69 6e 67 | 20 6f 72 20 77 72 69 74 | reading| or writ|
|00001950| 69 6e 67 20 64 61 74 61 | 29 2c 20 63 61 6c 6c 20 |ing data|), call |
|00001960| 53 43 53 49 53 65 6c 65 | 63 74 2e 20 20 54 68 65 |SCSISele|ct. The|
|00001970| 20 53 43 53 49 43 6d 64 | 20 66 75 6e 63 74 69 6f | SCSICmd| functio|
|00001980| 6e 20 74 65 6c 6c 73 20 | 74 68 65 20 74 61 72 67 |n tells |the targ|
|00001990| 65 74 20 64 65 76 69 63 | 65 20 77 68 61 74 20 6f |et devic|e what o|
|000019a0| 70 65 72 61 74 69 6f 6e | 20 74 6f 20 70 65 72 66 |peration| to perf|
|000019b0| 6f 72 6d 2e 0d 0d 54 6f | 20 74 72 61 6e 73 66 65 |orm...To| transfe|
|000019c0| 72 20 64 61 74 61 20 66 | 72 6f 6d 20 74 68 65 20 |r data f|rom the |
|000019d0| 74 61 72 67 65 74 20 64 | 65 76 69 63 65 20 74 6f |target d|evice to|
|000019e0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 2c 20 | the Mac|intosh, |
|000019f0| 79 6f 75 20 63 61 6e 20 | 63 61 6c 6c 20 53 43 53 |you can |call SCS|
|00001a00| 49 52 65 61 64 3b 20 53 | 43 53 49 57 72 69 74 65 |IRead; S|CSIWrite|
|00001a10| 20 74 72 61 6e 73 66 65 | 72 73 20 64 61 74 61 20 | transfe|rs data |
|00001a20| 66 72 6f 6d 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |from the| Macinto|
|00001a30| 73 68 20 74 6f 20 74 68 | 65 20 74 61 72 67 65 74 |sh to th|e target|
|00001a40| 20 64 65 76 69 63 65 2e | 20 20 54 68 65 20 72 65 | device.| The re|
|00001a50| 61 64 20 61 6e 64 20 77 | 72 69 74 65 20 6f 70 65 |ad and w|rite ope|
|00001a60| 72 61 74 69 6f 6e 73 20 | 63 61 6e 20 62 65 20 70 |rations |can be p|
|00001a70| 65 72 66 6f 72 6d 65 64 | 20 77 69 74 68 6f 75 74 |erformed| without|
|00001a80| 20 70 6f 6c 6c 69 6e 67 | 20 61 6e 64 20 77 61 69 | polling| and wai|
|00001a90| 74 69 6e 67 20 66 6f 72 | 20 74 68 65 20 2f 52 45 |ting for| the /RE|
|00001aa0| 51 20 6c 69 6e 65 20 6f | 6e 20 65 61 63 68 20 64 |Q line o|n each d|
|00001ab0| 61 74 61 20 62 79 74 65 | 20 62 79 20 63 61 6c 6c |ata byte| by call|
|00001ac0| 69 6e 67 20 53 43 53 49 | 52 42 6c 69 6e 64 20 61 |ing SCSI|RBlind a|
|00001ad0| 6e 64 20 53 43 53 49 57 | 42 6c 69 6e 64 2c 20 72 |nd SCSIW|Blind, r|
|00001ae0| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 20 20 41 6c |espectiv|ely. Al|
|00001af0| 6c 20 66 6f 75 72 20 72 | 65 61 64 2f 77 72 69 74 |l four r|ead/writ|
|00001b00| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 72 65 71 75 |e functi|ons requ|
|00001b10| 69 72 65 20 61 20 74 72 | 61 6e 73 66 65 72 20 69 |ire a tr|ansfer i|
|00001b20| 6e 73 74 72 75 63 74 69 | 6f 6e 20 62 6c 6f 63 6b |nstructi|on block|
|00001b30| 20 74 65 6c 6c 69 6e 67 | 20 74 68 65 20 53 43 53 | telling| the SCS|
|00001b40| 49 20 4d 61 6e 61 67 65 | 72 20 77 68 61 74 20 74 |I Manage|r what t|
|00001b50| 6f 20 64 6f 20 77 69 74 | 68 20 74 68 65 20 64 61 |o do wit|h the da|
|00001b60| 74 61 20 62 79 74 65 73 | 20 74 72 61 6e 73 66 65 |ta bytes| transfe|
|00001b70| 72 72 65 64 20 64 75 72 | 69 6e 67 20 74 68 65 20 |rred dur|ing the |
|00001b80| 64 61 74 61 20 70 68 61 | 73 65 2e 0d 0d 54 68 65 |data pha|se...The|
|00001b90| 20 53 43 53 49 43 6f 6d | 70 6c 65 74 65 20 66 75 | SCSICom|plete fu|
|00001ba0| 6e 63 74 69 6f 6e 20 67 | 69 76 65 73 20 74 68 65 |nction g|ives the|
|00001bb0| 20 63 75 72 72 65 6e 74 | 20 63 6f 6d 6d 61 6e 64 | current| command|
|00001bc0| 20 61 20 73 70 65 63 69 | 66 69 65 64 20 6e 75 6d | a speci|fied num|
|00001bd0| 62 65 72 20 6f 66 20 74 | 69 63 6b 73 20 74 6f 20 |ber of t|icks to |
|00001be0| 63 6f 6d 70 6c 65 74 65 | 20 61 6e 64 20 74 68 65 |complete| and the|
|00001bf0| 6e 20 72 65 74 75 72 6e | 73 20 74 68 65 20 73 74 |n return|s the st|
|00001c00| 61 74 75 73 20 61 6e 64 | 20 6d 65 73 73 61 67 65 |atus and| message|
|00001c10| 20 62 79 74 65 73 2e 0d | 0d 59 6f 75 20 63 61 6e | bytes..|.You can|
|00001c20| 20 6f 62 74 61 69 6e 20 | 61 20 62 69 74 20 6d 61 | obtain |a bit ma|
|00001c30| 70 20 6f 66 20 74 68 65 | 20 53 43 53 49 20 63 6f |p of the| SCSI co|
|00001c40| 6e 74 72 6f 6c 20 61 6e | 64 20 73 74 61 74 75 73 |ntrol an|d status|
|00001c50| 20 62 69 74 73 20 62 79 | 20 63 61 6c 6c 69 6e 67 | bits by| calling|
|00001c60| 20 53 43 53 49 53 74 61 | 74 2e 20 20 54 6f 20 72 | SCSISta|t. To r|
|00001c70| 65 73 65 74 20 74 68 65 | 20 53 43 53 49 20 62 75 |eset the| SCSI bu|
|00001c80| 73 20 28 74 79 70 69 63 | 61 6c 6c 79 20 77 68 65 |s (typic|ally whe|
|00001c90| 6e 20 61 20 64 65 76 69 | 63 65 20 68 61 73 20 6c |n a devi|ce has l|
|00001ca0| 65 66 74 20 69 74 20 69 | 6e 20 61 20 73 75 73 70 |eft it i|n a susp|
|00001cb0| 65 6e 64 65 64 20 70 68 | 61 73 65 29 2c 20 63 61 |ended ph|ase), ca|
|00001cc0| 6c 6c 20 53 43 53 49 52 | 65 73 65 74 2e 0d 20 0d |ll SCSIR|eset.. .|
|00001cd0| 20 0d 44 65 73 63 72 69 | 62 69 6e 67 20 74 68 65 | .Descri|bing the|
|00001ce0| 20 4f 70 65 72 61 74 69 | 6f 6e 20 74 6f 20 62 65 | Operati|on to be|
|00001cf0| 20 50 65 72 66 6f 72 6d | 65 64 0d 5f 5f 5f 5f 5f | Perform|ed._____|
|00001d00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001d10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001d20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 59 6f 75 20 74 |________|__.You t|
|00001d30| 65 6c 6c 20 74 68 65 20 | 53 43 53 49 20 4d 61 6e |ell the |SCSI Man|
|00001d40| 61 67 65 72 20 77 68 61 | 74 20 6f 70 65 72 61 74 |ager wha|t operat|
|00001d50| 69 6f 6e 20 74 6f 20 70 | 65 72 66 6f 72 6d 20 62 |ion to p|erform b|
|00001d60| 79 20 70 61 73 73 69 6e | 67 20 61 20 70 6f 69 6e |y passin|g a poin|
|00001d70| 74 65 72 20 74 6f 20 61 | 20 63 6f 6d 6d 61 6e 64 |ter to a| command|
|00001d80| 20 64 65 73 63 72 69 70 | 74 6f 72 20 62 6c 6f 63 | descrip|tor bloc|
|00001d90| 6b 3b 20 74 68 65 20 53 | 43 53 49 20 63 6f 6d 6d |k; the S|CSI comm|
|00001da0| 61 6e 64 20 73 74 72 75 | 63 74 75 72 65 20 69 73 |and stru|cture is|
|00001db0| 20 6f 75 74 6c 69 6e 65 | 64 20 69 6e 20 74 68 65 | outline|d in the|
|00001dc0| 20 41 4e 53 43 20 64 6f | 63 75 6d 65 6e 74 20 58 | ANSC do|cument X|
|00001dd0| 33 54 39 2e 32 2f 38 32 | 2d 32 2e 0d 0d 57 68 65 |3T9.2/82|-2...Whe|
|00001de0| 6e 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 74 6f |n the co|mmand to|
|00001df0| 20 62 65 20 70 65 72 66 | 6f 72 6d 65 64 20 69 6e | be perf|ormed in|
|00001e00| 76 6f 6c 76 65 73 20 61 | 20 74 72 61 6e 73 66 65 |volves a| transfe|
|00001e10| 72 20 6f 66 20 64 61 74 | 61 20 28 73 75 63 68 20 |r of dat|a (such |
|00001e20| 61 73 20 61 20 72 65 61 | 64 20 6f 72 20 77 72 69 |as a rea|d or wri|
|00001e30| 74 65 20 6f 70 65 72 61 | 74 69 6f 6e 29 2c 20 79 |te opera|tion), y|
|00001e40| 6f 75 20 61 6c 73 6f 20 | 6e 65 65 64 20 74 6f 20 |ou also |need to |
|00001e50| 70 61 73 73 20 61 20 70 | 6f 69 6e 74 65 72 20 74 |pass a p|ointer t|
|00001e60| 6f 20 61 20 74 72 61 6e | 73 66 65 72 20 69 6e 73 |o a tran|sfer ins|
|00001e70| 74 72 75 63 74 69 6f 6e | 20 62 6c 6f 63 6b 2c 20 |truction| block, |
|00001e80| 77 68 69 63 68 20 74 65 | 6c 6c 73 20 74 68 65 20 |which te|lls the |
|00001e90| 53 43 53 49 20 4d 61 6e | 61 67 65 72 20 77 68 61 |SCSI Man|ager wha|
|00001ea0| 74 20 74 6f 20 64 6f 20 | 77 69 74 68 20 74 68 65 |t to do |with the|
|00001eb0| 20 64 61 74 61 20 62 79 | 74 65 73 20 74 72 61 6e | data by|tes tran|
|00001ec0| 73 66 65 72 72 65 64 20 | 64 75 72 69 6e 67 20 74 |sferred |during t|
|00001ed0| 68 65 20 64 61 74 61 20 | 70 68 61 73 65 2e 20 20 |he data |phase. |
|00001ee0| 41 20 74 72 61 6e 73 66 | 65 72 20 69 6e 73 74 72 |A transf|er instr|
|00001ef0| 75 63 74 69 6f 6e 20 62 | 6c 6f 63 6b 20 63 6f 6e |uction b|lock con|
|00001f00| 74 61 69 6e 73 20 61 20 | 70 73 65 75 64 6f 2d 70 |tains a |pseudo-p|
|00001f10| 72 6f 67 72 61 6d 20 63 | 6f 6e 73 69 73 74 69 6e |rogram c|onsistin|
|00001f20| 67 20 6f 66 20 61 20 76 | 61 72 69 61 62 6c 65 20 |g of a v|ariable |
|00001f30| 6e 75 6d 62 65 72 20 6f | 66 20 69 6e 73 74 72 75 |number o|f instru|
|00001f40| 63 74 69 6f 6e 73 3b 20 | 69 74 27 73 20 73 69 6d |ctions; |it's sim|
|00001f50| 69 6c 61 72 20 74 6f 20 | 61 20 73 75 62 72 6f 75 |ilar to |a subrou|
|00001f60| 74 69 6e 65 20 65 78 63 | 65 70 74 20 74 68 61 74 |tine exc|ept that|
|00001f70| 20 74 68 65 20 69 6e 73 | 74 72 75 63 74 69 6f 6e | the ins|truction|
|00001f80| 73 20 61 72 65 20 70 72 | 6f 76 69 64 65 64 20 61 |s are pr|ovided a|
|00001f90| 6e 64 20 69 6e 74 65 72 | 70 72 65 74 65 64 20 62 |nd inter|preted b|
|00001fa0| 79 20 74 68 65 20 53 43 | 53 49 20 4d 61 6e 61 67 |y the SC|SI Manag|
|00001fb0| 65 72 20 69 74 73 65 6c | 66 2e 20 20 54 68 65 20 |er itsel|f. The |
|00001fc0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 20 61 72 65 |instruct|ions are|
|00001fd0| 20 6f 66 20 61 20 66 69 | 78 65 64 20 73 69 7a 65 | of a fi|xed size|
|00001fe0| 20 61 6e 64 20 68 61 76 | 65 20 74 68 65 20 66 6f | and hav|e the fo|
|00001ff0| 6c 6c 6f 77 69 6e 67 20 | 73 74 72 75 63 74 75 72 |llowing |structur|
|00002000| 65 3a 20 20 0d 0d 54 59 | 50 45 20 53 43 53 49 49 |e: ..TY|PE SCSII|
|00002010| 6e 73 74 72 20 3d 09 52 | 45 43 4f 52 44 0d 09 6f |nstr =.R|ECORD..o|
|00002020| 70 63 6f 64 65 3a 20 49 | 4e 54 45 47 45 52 3b 09 |pcode: I|NTEGER;.|
|00002030| 7b 6f 70 65 72 61 74 69 | 6f 6e 20 63 6f 64 65 7d |{operati|on code}|
|00002040| 0d 09 70 61 72 61 6d 31 | 3a 20 4c 4f 4e 47 49 4e |..param1|: LONGIN|
|00002050| 54 3b 09 7b 66 69 72 73 | 74 20 70 61 72 61 6d 65 |T;.{firs|t parame|
|00002060| 74 65 72 7d 0d 09 70 61 | 72 61 6d 32 3a 20 4c 4f |ter}..pa|ram2: LO|
|00002070| 4e 47 49 4e 54 09 7b 73 | 65 63 6f 6e 64 20 70 61 |NGINT.{s|econd pa|
|00002080| 72 61 6d 65 74 65 72 7d | 0d 09 45 4e 44 3b 0d 0d |rameter}|..END;..|
|00002090| 45 69 67 68 74 20 69 6e | 73 74 72 75 63 74 69 6f |Eight in|structio|
|000020a0| 6e 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |ns are a|vailable|
|000020b0| 3b 20 74 68 65 69 72 20 | 6f 70 65 72 61 74 69 6f |; their |operatio|
|000020c0| 6e 20 63 6f 64 65 73 20 | 61 72 65 20 73 70 65 63 |n codes |are spec|
|000020d0| 69 66 69 65 64 20 77 69 | 74 68 20 74 68 65 20 66 |ified wi|th the f|
|000020e0| 6f 6c 6c 6f 77 69 6e 67 | 20 70 72 65 64 65 66 69 |ollowing| predefi|
|000020f0| 6e 65 64 20 63 6f 6e 73 | 74 61 6e 74 73 3a 0d 0d |ned cons|tants:..|
|00002100| 43 4f 4e 53 54 09 73 63 | 49 6e 63 09 3d 20 31 3b |CONST.sc|Inc.= 1;|
|00002110| 09 7b 53 43 49 4e 43 20 | 69 6e 73 74 72 75 63 74 |.{SCINC |instruct|
|00002120| 69 6f 6e 7d 0d 09 73 63 | 4e 6f 49 6e 63 09 3d 20 |ion}..sc|NoInc.= |
|00002130| 32 3b 09 7b 53 43 4e 4f | 49 4e 43 20 69 6e 73 74 |2;.{SCNO|INC inst|
|00002140| 72 75 63 74 69 6f 6e 7d | 0d 09 73 63 41 64 64 09 |ruction}|..scAdd.|
|00002150| 3d 20 33 3b 09 7b 53 43 | 41 44 44 20 69 6e 73 74 |= 3;.{SC|ADD inst|
|00002160| 72 75 63 74 69 6f 6e 7d | 0d 09 73 63 4d 6f 76 65 |ruction}|..scMove|
|00002170| 09 3d 20 34 3b 09 7b 53 | 43 4d 4f 56 45 20 69 6e |.= 4;.{S|CMOVE in|
|00002180| 73 74 72 75 63 74 69 6f | 6e 7d 0d 09 73 63 4c 6f |structio|n}..scLo|
|00002190| 6f 70 09 3d 20 35 3b 09 | 7b 53 43 4c 4f 4f 50 20 |op.= 5;.|{SCLOOP |
|000021a0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 7d 0d 09 73 63 |instruct|ion}..sc|
|000021b0| 4e 4f 70 09 3d 20 36 3b | 09 7b 53 43 4e 4f 50 20 |NOp.= 6;|.{SCNOP |
|000021c0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 7d 0d 09 73 63 |instruct|ion}..sc|
|000021d0| 53 74 6f 70 09 3d 20 37 | 3b 09 7b 53 43 53 54 4f |Stop.= 7|;.{SCSTO|
|000021e0| 50 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 7d 0d 09 |P instru|ction}..|
|000021f0| 73 63 43 6f 6d 70 09 3d | 20 38 3b 09 7b 53 43 43 |scComp.=| 8;.{SCC|
|00002200| 4f 4d 50 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 7d |OMP inst|ruction}|
|00002210| 0d 09 0d 41 20 64 65 73 | 63 72 69 70 74 69 6f 6e |...A des|cription|
|00002220| 20 6f 66 20 74 68 65 20 | 69 6e 73 74 72 75 63 74 | of the |instruct|
|00002230| 69 6f 6e 73 20 69 73 20 | 67 69 76 65 6e 20 62 65 |ions is |given be|
|00002240| 6c 6f 77 2e 0d 0d 0d 6f | 70 63 6f 64 65 20 3d 20 |low....o|pcode = |
|00002250| 73 63 49 6e 63 09 70 61 | 72 61 6d 31 20 3d 20 62 |scInc.pa|ram1 = b|
|00002260| 75 66 66 65 72 09 70 61 | 72 61 6d 32 20 3d 20 63 |uffer.pa|ram2 = c|
|00002270| 6f 75 6e 74 0d 0d 54 68 | 65 20 53 43 49 4e 43 20 |ount..Th|e SCINC |
|00002280| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 6d 6f 76 65 |instruct|ion move|
|00002290| 73 20 63 6f 75 6e 74 20 | 64 61 74 61 20 62 79 74 |s count |data byt|
|000022a0| 65 73 20 74 6f 20 6f 72 | 20 66 72 6f 6d 20 62 75 |es to or| from bu|
|000022b0| 66 66 65 72 2c 20 69 6e | 63 72 65 6d 65 6e 74 69 |ffer, in|crementi|
|000022c0| 6e 67 20 62 75 66 66 65 | 72 20 62 79 20 63 6f 75 |ng buffe|r by cou|
|000022d0| 6e 74 20 77 68 65 6e 20 | 64 6f 6e 65 2e 0d 0d 0d |nt when |done....|
|000022e0| 6f 70 63 6f 64 65 20 3d | 20 73 63 4e 6f 49 6e 63 |opcode =| scNoInc|
|000022f0| 09 70 61 72 61 6d 31 20 | 3d 20 62 75 66 66 65 72 |.param1 |= buffer|
|00002300| 09 70 61 72 61 6d 32 20 | 3d 20 63 6f 75 6e 74 0d |.param2 |= count.|
|00002310| 0d 54 68 65 20 53 43 4e | 4f 49 4e 43 20 20 69 6e |.The SCN|OINC in|
|00002320| 73 74 72 75 63 74 69 6f | 6e 20 6d 6f 76 65 73 20 |structio|n moves |
|00002330| 63 6f 75 6e 74 20 64 61 | 74 61 20 62 79 74 65 73 |count da|ta bytes|
|00002340| 20 74 6f 20 6f 72 20 66 | 72 6f 6d 20 62 75 66 66 | to or f|rom buff|
|00002350| 65 72 2c 20 6c 65 61 76 | 69 6e 67 20 62 75 66 66 |er, leav|ing buff|
|00002360| 65 72 20 75 6e 6d 6f 64 | 69 66 69 65 64 2e 0d 0d |er unmod|ified...|
|00002370| 0d 6f 70 63 6f 64 65 20 | 3d 20 73 63 41 64 64 09 |.opcode |= scAdd.|
|00002380| 70 61 72 61 6d 31 20 3d | 20 61 64 64 72 09 70 61 |param1 =| addr.pa|
|00002390| 72 61 6d 32 20 3d 20 76 | 61 6c 75 65 0d 0d 54 68 |ram2 = v|alue..Th|
|000023a0| 65 20 53 43 41 44 44 20 | 69 6e 73 74 72 75 63 74 |e SCADD |instruct|
|000023b0| 69 6f 6e 20 61 64 64 73 | 20 74 68 65 20 67 69 76 |ion adds| the giv|
|000023c0| 65 6e 20 76 61 6c 75 65 | 20 74 6f 20 74 68 65 20 |en value| to the |
|000023d0| 61 64 64 72 65 73 73 20 | 69 6e 20 61 64 64 72 2e |address |in addr.|
|000023e0| 20 20 28 54 68 65 20 61 | 64 64 69 74 69 6f 6e 20 | (The a|ddition |
|000023f0| 69 73 20 70 65 72 66 6f | 72 6d 65 64 20 61 73 20 |is perfo|rmed as |
|00002400| 61 6e 20 4d 43 36 38 30 | 30 30 20 6c 6f 6e 67 20 |an MC680|00 long |
|00002410| 6f 70 65 72 61 74 69 6f | 6e 2e 29 0d 0d 0d 6f 70 |operatio|n.)...op|
|00002420| 63 6f 64 65 20 3d 20 73 | 63 4d 6f 76 65 09 70 61 |code = s|cMove.pa|
|00002430| 72 61 6d 31 20 3d 20 61 | 64 64 72 31 09 70 61 72 |ram1 = a|ddr1.par|
|00002440| 61 6d 32 20 3d 20 61 64 | 64 72 32 0d 0d 54 68 65 |am2 = ad|dr2..The|
|00002450| 20 53 43 4d 4f 56 45 20 | 69 6e 73 74 72 75 63 74 | SCMOVE |instruct|
|00002460| 69 6f 6e 20 6d 6f 76 65 | 73 20 74 68 65 20 76 61 |ion move|s the va|
|00002470| 6c 75 65 20 70 6f 69 6e | 74 65 64 20 61 74 20 62 |lue poin|ted at b|
|00002480| 79 20 61 64 64 72 31 20 | 74 6f 20 74 68 65 20 6c |y addr1 |to the l|
|00002490| 6f 63 61 74 69 6f 6e 20 | 70 6f 69 6e 74 65 64 20 |ocation |pointed |
|000024a0| 74 6f 20 62 79 20 61 64 | 64 72 32 2e 20 20 28 54 |to by ad|dr2. (T|
|000024b0| 68 65 20 6d 6f 76 65 20 | 69 73 20 61 6e 20 4d 43 |he move |is an MC|
|000024c0| 36 38 30 30 30 20 6c 6f | 6e 67 20 6f 70 65 72 61 |68000 lo|ng opera|
|000024d0| 74 69 6f 6e 2e 29 0d 0d | 0d 6f 70 63 6f 64 65 20 |tion.)..|.opcode |
|000024e0| 3d 20 73 63 4c 6f 6f 70 | 09 70 61 72 61 6d 31 20 |= scLoop|.param1 |
|000024f0| 3d 20 72 65 6c 41 64 64 | 72 09 70 61 72 61 6d 32 |= relAdd|r.param2|
|00002500| 20 3d 20 63 6f 75 6e 74 | 0d 0d 54 68 65 20 53 43 | = count|..The SC|
|00002510| 4c 4f 4f 50 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |LOOP ins|truction|
|00002520| 20 64 65 63 72 65 6d 65 | 6e 74 73 20 63 6f 75 6e | decreme|nts coun|
|00002530| 74 20 62 79 20 31 2e 20 | 20 49 66 20 74 68 65 20 |t by 1. | If the |
|00002540| 72 65 73 75 6c 74 20 69 | 73 20 67 72 65 61 74 65 |result i|s greate|
|00002550| 72 20 74 68 61 6e 20 30 | 2c 20 70 73 65 75 64 6f |r than 0|, pseudo|
|00002560| 2d 70 72 6f 67 72 61 6d | 20 65 78 65 63 75 74 69 |-program| executi|
|00002570| 6f 6e 20 72 65 73 75 6d | 65 73 20 61 74 20 74 68 |on resum|es at th|
|00002580| 65 20 63 75 72 72 65 6e | 74 20 61 64 64 72 65 73 |e curren|t addres|
|00002590| 73 2b 72 65 6c 41 64 64 | 72 2e 20 20 49 66 20 74 |s+relAdd|r. If t|
|000025a0| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 30 2c 20 |he resul|t is 0, |
|000025b0| 70 73 65 75 64 6f 2d 70 | 72 6f 67 72 61 6d 20 65 |pseudo-p|rogram e|
|000025c0| 78 65 63 75 74 69 6f 6e | 20 72 65 73 75 6d 65 73 |xecution| resumes|
|000025d0| 20 61 74 20 74 68 65 20 | 6e 65 78 74 20 69 6e 73 | at the |next ins|
|000025e0| 74 72 75 63 74 69 6f 6e | 2e 20 20 52 65 6c 41 64 |truction|. RelAd|
|000025f0| 64 72 20 73 68 6f 75 6c | 64 20 62 65 20 61 20 73 |dr shoul|d be a s|
|00002600| 69 67 6e 65 64 20 6d 75 | 6c 74 69 70 6c 65 20 6f |igned mu|ltiple o|
|00002610| 66 20 74 68 65 20 69 6e | 73 74 72 75 63 74 69 6f |f the in|structio|
|00002620| 6e 20 73 69 7a 65 20 28 | 31 30 20 62 79 74 65 73 |n size (|10 bytes|
|00002630| 29 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |). For |example,|
|00002640| 20 74 6f 20 6c 6f 6f 70 | 20 74 6f 20 74 68 65 20 | to loop| to the |
|00002650| 69 6d 6d 65 64 69 61 74 | 65 6c 79 20 70 72 65 63 |immediat|ely prec|
|00002660| 65 64 69 6e 67 20 69 6e | 73 74 72 75 63 74 69 6f |eding in|structio|
|00002670| 6e 2c 20 74 68 65 20 72 | 65 6c 41 64 64 72 20 66 |n, the r|elAddr f|
|00002680| 69 65 6c 64 20 77 6f 75 | 6c 64 20 63 6f 6e 74 61 |ield wou|ld conta|
|00002690| 69 6e 20 d0 31 30 2e 20 | 20 54 6f 20 6c 6f 6f 70 |in .10. | To loop|
|000026a0| 20 66 6f 72 77 61 72 64 | 20 62 79 20 74 68 72 65 | forward| by thre|
|000026b0| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 2c 20 |e instru|ctions, |
|000026c0| 69 74 20 77 6f 75 6c 64 | 20 63 6f 6e 74 61 69 6e |it would| contain|
|000026d0| 20 33 30 2e 0d 0d 0d 6f | 70 63 6f 64 65 20 3d 20 | 30....o|pcode = |
|000026e0| 73 63 4e 4f 70 09 70 61 | 72 61 6d 31 20 3d 20 4e |scNOp.pa|ram1 = N|
|000026f0| 49 4c 09 70 61 72 61 6d | 32 20 3d 20 4e 49 4c 0d |IL.param|2 = NIL.|
|00002700| 0d 54 68 65 20 53 43 4e | 4f 50 20 69 6e 73 74 72 |.The SCN|OP instr|
|00002710| 75 63 74 69 6f 6e 20 64 | 6f 65 73 20 6e 6f 74 68 |uction d|oes noth|
|00002720| 69 6e 67 2e 0d 0d 0d 6f | 70 63 6f 64 65 20 3d 20 |ing....o|pcode = |
|00002730| 73 63 53 74 6f 70 09 70 | 61 72 61 6d 31 20 3d 20 |scStop.p|aram1 = |
|00002740| 4e 49 4c 09 70 61 72 61 | 6d 32 20 3d 20 4e 49 4c |NIL.para|m2 = NIL|
|00002750| 0d 0d 54 68 65 20 53 43 | 53 54 4f 50 20 69 6e 73 |..The SC|STOP ins|
|00002760| 74 72 75 63 74 69 6f 6e | 20 74 65 72 6d 69 6e 61 |truction| termina|
|00002770| 74 65 73 20 74 68 65 20 | 70 73 65 75 64 6f 2d 70 |tes the |pseudo-p|
|00002780| 72 6f 67 72 61 6d 20 65 | 78 65 63 75 74 69 6f 6e |rogram e|xecution|
|00002790| 2c 20 72 65 74 75 72 6e | 69 6e 67 20 74 6f 20 74 |, return|ing to t|
|000027a0| 68 65 20 63 61 6c 6c 69 | 6e 67 20 53 43 53 49 20 |he calli|ng SCSI |
|000027b0| 4d 61 6e 61 67 65 72 20 | 72 6f 75 74 69 6e 65 2e |Manager |routine.|
|000027c0| 0d 0d 0d 6f 70 63 6f 64 | 65 20 3d 20 73 63 43 6f |...opcod|e = scCo|
|000027d0| 6d 70 09 70 61 72 61 6d | 31 20 3d 20 61 64 64 72 |mp.param|1 = addr|
|000027e0| 09 70 61 72 61 6d 32 20 | 3d 20 63 6f 75 6e 74 0d |.param2 |= count.|
|000027f0| 0d 54 68 65 20 53 43 43 | 4f 4d 50 20 69 6e 73 74 |.The SCC|OMP inst|
|00002800| 72 75 63 74 69 6f 6e 20 | 69 73 20 75 73 65 64 20 |ruction |is used |
|00002810| 6f 6e 6c 79 20 77 69 74 | 68 20 61 20 72 65 61 64 |only wit|h a read|
|00002820| 20 63 6f 6d 6d 61 6e 64 | 2e 20 20 42 65 67 69 6e | command|. Begin|
|00002830| 6e 69 6e 67 20 61 74 20 | 61 64 64 72 2c 20 69 74 |ning at |addr, it|
|00002840| 20 63 6f 6d 70 61 72 65 | 73 20 69 6e 63 6f 6d 69 | compare|s incomi|
|00002850| 6e 67 20 64 61 74 61 20 | 62 79 74 65 73 20 77 69 |ng data |bytes wi|
|00002860| 74 68 20 6d 65 6d 6f 72 | 79 2c 20 69 6e 63 72 65 |th memor|y, incre|
|00002870| 6d 65 6e 74 69 6e 67 20 | 61 64 64 72 20 62 79 20 |menting |addr by |
|00002880| 63 6f 75 6e 74 20 77 68 | 65 6e 20 64 6f 6e 65 2e |count wh|en done.|
|00002890| 20 20 49 66 20 74 68 65 | 20 62 79 74 65 73 20 64 | If the| bytes d|
|000028a0| 6f 20 6e 6f 74 20 63 6f | 6d 70 61 72 65 20 65 71 |o not co|mpare eq|
|000028b0| 75 61 6c 6c 79 2c 20 61 | 6e 20 65 72 72 6f 72 20 |ually, a|n error |
|000028c0| 69 73 20 72 65 74 75 72 | 6e 65 64 20 74 6f 20 74 |is retur|ned to t|
|000028d0| 68 65 20 72 65 61 64 20 | 63 6f 6d 6d 61 6e 64 2e |he read |command.|
|000028e0| 0d 0d 0d 45 78 61 6d 70 | 6c 65 0d 0d 54 68 69 73 |...Examp|le..This|
|000028f0| 20 65 78 61 6d 70 6c 65 | 20 67 69 76 65 73 20 61 | example| gives a|
|00002900| 20 74 72 61 6e 73 66 65 | 72 20 69 6e 73 74 72 75 | transfe|r instru|
|00002910| 63 74 69 6f 6e 20 62 6c | 6f 63 6b 20 66 6f 72 20 |ction bl|ock for |
|00002920| 61 20 74 72 61 6e 73 66 | 65 72 20 6f 66 20 73 69 |a transf|er of si|
|00002930| 78 20 35 31 32 2d 62 79 | 74 65 20 62 6c 6f 63 6b |x 512-by|te block|
|00002940| 73 20 6f 66 20 64 61 74 | 61 20 66 72 6f 6d 20 6f |s of dat|a from o|
|00002950| 72 20 74 6f 20 61 64 64 | 72 65 73 73 20 24 36 37 |r to add|ress $67|
|00002960| 42 35 30 2e 0d 0d 53 43 | 49 4e 43 09 24 36 37 42 |B50...SC|INC.$67B|
|00002970| 35 30 09 35 31 32 0d 53 | 43 4c 4f 4f 50 09 2d 31 |50.512.S|CLOOP.-1|
|00002980| 30 09 36 0d 53 43 53 54 | 4f 50 0d 0d 5f 5f 5f 5f |0.6.SCST|OP..____|
|00002990| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000029a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000029b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000029c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000029d0| 5f 5f 5f 5f 0d 0d 53 43 | 53 49 20 4d 41 4e 41 47 |____..SC|SI MANAG|
|000029e0| 45 52 20 52 4f 55 54 49 | 4e 45 53 20 20 0d 5f 5f |ER ROUTI|NES .__|
|000029f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a30| 5f 5f 5f 5f 5f 5f 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |______._|________|
|00002a40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002a70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|00002a80| 0d 41 73 73 65 6d 62 6c | 79 2d 6c 61 6e 67 75 61 |.Assembl|y-langua|
|00002a90| 67 65 20 6e 6f 74 65 3a | 20 20 20 55 6e 6c 69 6b |ge note:| Unlik|
|00002aa0| 65 20 6d 6f 73 74 20 6f | 74 68 65 72 20 4f 70 65 |e most o|ther Ope|
|00002ab0| 72 61 74 69 6e 67 20 53 | 79 73 74 65 6d 20 72 6f |rating S|ystem ro|
|00002ac0| 75 74 69 6e 65 73 2c 20 | 74 68 65 20 53 43 53 49 |utines, |the SCSI|
|00002ad0| 20 4d 61 6e 61 67 65 72 | 20 72 6f 75 74 69 6e 65 | Manager| routine|
|00002ae0| 73 20 61 72 65 20 73 74 | 61 63 6b 2d 62 61 73 65 |s are st|ack-base|
|00002af0| 64 2e 20 20 59 6f 75 20 | 63 61 6e 20 69 6e 76 6f |d. You |can invo|
|00002b00| 6b 65 20 65 61 63 68 20 | 6f 66 20 74 68 65 20 53 |ke each |of the S|
|00002b10| 43 53 49 20 72 6f 75 74 | 69 6e 65 73 20 77 69 74 |CSI rout|ines wit|
|00002b20| 68 20 61 20 6d 61 63 72 | 6f 20 74 68 61 74 20 68 |h a macr|o that h|
|00002b30| 61 73 20 74 68 65 20 73 | 61 6d 65 20 6e 61 6d 65 |as the s|ame name|
|00002b40| 20 61 73 20 74 68 65 20 | 72 6f 75 74 69 6e 65 20 | as the |routine |
|00002b50| 70 72 65 63 65 64 65 64 | 20 62 79 20 61 6e 20 75 |preceded| by an u|
|00002b60| 6e 64 65 72 73 63 6f 72 | 65 2e 20 20 54 68 65 73 |nderscor|e. Thes|
|00002b70| 65 20 6d 61 63 72 6f 73 | 2c 20 68 6f 77 65 76 65 |e macros|, howeve|
|00002b80| 72 2c 20 61 72 65 6e 27 | 74 20 74 72 61 70 20 6d |r, aren'|t trap m|
|00002b90| 61 63 72 6f 73 20 74 68 | 65 6d 73 65 6c 76 65 73 |acros th|emselves|
|00002ba0| 3b 20 69 6e 73 74 65 61 | 64 20 74 68 65 79 20 65 |; instea|d they e|
|00002bb0| 78 70 61 6e 64 20 74 6f | 20 69 6e 76 6f 6b 65 20 |xpand to| invoke |
|00002bc0| 74 68 65 20 74 72 61 70 | 20 6d 61 63 72 6f 20 5f |the trap| macro _|
|00002bd0| 53 43 53 49 44 69 73 70 | 61 74 63 68 2e 20 20 54 |SCSIDisp|atch. T|
|00002be0| 68 65 20 53 43 53 49 20 | 4d 61 6e 61 67 65 72 20 |he SCSI |Manager |
|00002bf0| 64 65 74 65 72 6d 69 6e | 65 73 20 77 68 69 63 68 |determin|es which|
|00002c00| 20 72 6f 75 74 69 6e 65 | 20 74 6f 20 65 78 65 63 | routine| to exec|
|00002c10| 75 74 65 20 66 72 6f 6d | 20 74 68 65 20 72 6f 75 |ute from| the rou|
|00002c20| 74 69 6e 65 20 73 65 6c | 65 63 74 6f 72 2c 20 61 |tine sel|ector, a|
|00002c30| 6e 20 69 6e 74 65 67 65 | 72 20 74 68 61 74 27 73 |n intege|r that's|
|00002c40| 20 70 61 73 73 65 64 20 | 74 6f 20 69 74 20 69 6e | passed |to it in|
|00002c50| 20 61 20 77 6f 72 64 20 | 6f 6e 20 74 68 65 20 73 | a word |on the s|
|00002c60| 74 61 63 6b 2e 20 20 54 | 68 65 20 72 6f 75 74 69 |tack. T|he routi|
|00002c70| 6e 65 20 73 65 6c 65 63 | 74 6f 72 73 20 61 72 65 |ne selec|tors are|
|00002c80| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0d 0d 09 73 | as foll|ows:...s|
|00002c90| 63 73 69 52 65 73 65 74 | 09 2e 45 51 55 09 30 0d |csiReset|..EQU.0.|
|00002ca0| 09 73 63 73 69 47 65 74 | 09 2e 45 51 55 09 31 0d |.scsiGet|..EQU.1.|
|00002cb0| 09 73 63 73 69 53 65 6c | 65 63 74 09 2e 45 51 55 |.scsiSel|ect..EQU|
|00002cc0| 09 32 0d 09 73 63 73 69 | 43 6d 64 09 2e 45 51 55 |.2..scsi|Cmd..EQU|
|00002cd0| 09 33 0d 09 73 63 73 69 | 43 6f 6d 70 6c 65 74 65 |.3..scsi|Complete|
|00002ce0| 09 2e 45 51 55 09 34 0d | 09 73 63 73 69 52 65 61 |..EQU.4.|.scsiRea|
|00002cf0| 64 09 2e 45 51 55 09 35 | 0d 09 73 63 73 69 57 72 |d..EQU.5|..scsiWr|
|00002d00| 69 74 65 09 2e 45 51 55 | 09 36 0d 09 73 63 73 69 |ite..EQU|.6..scsi|
|00002d10| 49 6e 73 74 61 6c 6c 09 | 2e 45 51 55 09 37 0d 09 |Install.|.EQU.7..|
|00002d20| 73 63 73 69 52 42 6c 69 | 6e 64 09 2e 45 51 55 09 |scsiRBli|nd..EQU.|
|00002d30| 38 0d 09 73 63 73 69 57 | 42 6c 69 6e 64 09 2e 45 |8..scsiW|Blind..E|
|00002d40| 51 55 09 39 0d 09 73 63 | 73 69 53 74 61 74 09 2e |QU.9..sc|siStat..|
|00002d50| 45 51 55 09 31 30 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |EQU.10._|________|
|00002d60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002d70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002d80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002d90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|00002da0| 4d 6f 73 74 20 6f 66 20 | 74 68 65 20 53 43 53 49 |Most of |the SCSI|
|00002db0| 20 4d 61 6e 61 67 65 72 | 20 72 6f 75 74 69 6e 65 | Manager| routine|
|00002dc0| 73 20 72 65 74 75 72 6e | 20 61 6e 20 69 6e 74 65 |s return| an inte|
|00002dd0| 67 65 72 20 72 65 73 75 | 6c 74 20 63 6f 64 65 20 |ger resu|lt code |
|00002de0| 6f 66 20 74 79 70 65 20 | 4f 53 45 72 72 2e 20 20 |of type |OSErr. |
|00002df0| 45 61 63 68 20 72 6f 75 | 74 69 6e 65 20 6c 69 73 |Each rou|tine lis|
|00002e00| 74 73 20 61 6c 6c 20 6f | 66 20 74 68 65 20 61 70 |ts all o|f the ap|
|00002e10| 70 6c 69 63 61 62 6c 65 | 20 72 65 73 75 6c 74 20 |plicable| result |
|00002e20| 63 6f 64 65 73 2c 20 61 | 6c 6f 6e 67 20 77 69 74 |codes, a|long wit|
|00002e30| 68 20 61 20 73 68 6f 72 | 74 20 64 65 73 63 72 69 |h a shor|t descri|
|00002e40| 70 74 69 6f 6e 20 6f 66 | 20 77 68 61 74 20 74 68 |ption of| what th|
|00002e50| 65 20 72 65 73 75 6c 74 | 20 63 6f 64 65 20 6d 65 |e result| code me|
|00002e60| 61 6e 73 2e 20 20 4c 65 | 6e 67 74 68 69 65 72 20 |ans. Le|ngthier |
|00002e70| 65 78 70 6c 61 6e 61 74 | 69 6f 6e 73 20 6f 66 20 |explanat|ions of |
|00002e80| 61 6c 6c 20 74 68 65 20 | 72 65 73 75 6c 74 20 63 |all the |result c|
|00002e90| 6f 64 65 73 20 63 61 6e | 20 62 65 20 66 6f 75 6e |odes can| be foun|
|00002ea0| 64 20 69 6e 20 74 68 65 | 20 73 75 6d 6d 61 72 79 |d in the| summary|
|00002eb0| 20 61 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | at the |end of t|
|00002ec0| 68 69 73 20 63 68 61 70 | 74 65 72 2e 0d 0d 57 61 |his chap|ter...Wa|
|00002ed0| 72 6e 69 6e 67 3a 20 20 | 54 68 65 20 65 72 72 6f |rning: |The erro|
|00002ee0| 72 20 63 6f 64 65 73 20 | 72 65 74 75 72 6e 65 64 |r codes |returned|
|00002ef0| 20 62 79 20 53 43 53 49 | 20 4d 61 6e 61 67 65 72 | by SCSI| Manager|
|00002f00| 20 72 6f 75 74 69 6e 65 | 73 20 74 79 70 69 63 61 | routine|s typica|
|00002f10| 6c 6c 79 20 69 6e 64 69 | 63 61 74 65 20 6f 6e 6c |lly indi|cate onl|
|00002f20| 79 20 74 68 61 74 20 61 | 20 67 69 76 65 6e 20 6f |y that a| given o|
|00002f30| 70 65 72 61 74 69 6f 6e | 20 66 61 69 6c 65 64 2e |peration| failed.|
|00002f40| 20 20 54 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 74 | To det|ermine t|
|00002f50| 68 65 20 61 63 74 75 61 | 6c 20 63 61 75 73 65 20 |he actua|l cause |
|00002f60| 6f 66 20 74 68 65 20 66 | 61 69 6c 75 72 65 2c 20 |of the f|ailure, |
|00002f70| 79 6f 75 20 6e 65 65 64 | 20 74 6f 20 73 65 6e 64 |you need| to send|
|00002f80| 20 61 6e 6f 74 68 65 72 | 20 53 43 53 49 20 63 6f | another| SCSI co|
|00002f90| 6d 6d 61 6e 64 20 61 73 | 6b 69 6e 67 20 74 68 65 |mmand as|king the|
|00002fa0| 20 64 65 76 69 63 65 20 | 77 68 61 74 20 77 65 6e | device |what wen|
|00002fb0| 74 20 77 72 6f 6e 67 2e | 20 0d 0d 0d 46 55 4e 43 |t wrong.| ...FUNC|
|00002fc0| 54 49 4f 4e 20 53 43 53 | 49 52 65 73 65 74 20 3a |TION SCS|IReset :|
|00002fd0| 20 4f 53 45 72 72 3b 0d | 0d 53 43 53 49 52 65 73 | OSErr;.|.SCSIRes|
|00002fe0| 65 74 20 72 65 73 65 74 | 73 20 74 68 65 20 53 43 |et reset|s the SC|
|00002ff0| 53 49 20 62 75 73 2e 0d | 0d 52 65 73 75 6c 74 20 |SI bus..|.Result |
|00003000| 63 6f 64 65 73 09 6e 6f | 45 72 72 09 4e 6f 20 65 |codes.no|Err.No e|
|00003010| 72 72 6f 72 0d 09 63 6f | 6d 6d 45 72 72 09 42 72 |rror..co|mmErr.Br|
|00003020| 65 61 6b 64 6f 77 6e 20 | 69 6e 20 53 43 53 49 20 |eakdown |in SCSI |
|00003030| 70 72 6f 74 6f 63 6f 6c | 73 0d 0d 0d 46 55 4e 43 |protocol|s...FUNC|
|00003040| 54 49 4f 4e 20 53 43 53 | 49 47 65 74 20 3a 20 4f |TION SCS|IGet : O|
|00003050| 53 45 72 72 3b 0d 0d 53 | 43 53 49 47 65 74 20 61 |SErr;..S|CSIGet a|
|00003060| 72 62 69 74 72 61 74 65 | 73 20 66 6f 72 20 75 73 |rbitrate|s for us|
|00003070| 65 20 6f 66 20 74 68 65 | 20 53 43 53 49 20 62 75 |e of the| SCSI bu|
|00003080| 73 2e 0d 0d 52 65 73 75 | 6c 74 20 63 6f 64 65 73 |s...Resu|lt codes|
|00003090| 09 6e 6f 45 72 72 09 4e | 6f 20 65 72 72 6f 72 0d |.noErr.N|o error.|
|000030a0| 09 63 6f 6d 6d 45 72 72 | 09 42 72 65 61 6b 64 6f |.commErr|.Breakdo|
|000030b0| 77 6e 20 69 6e 20 53 43 | 53 49 20 70 72 6f 74 6f |wn in SC|SI proto|
|000030c0| 63 6f 6c 73 0d 0d 0d 46 | 55 4e 43 54 49 4f 4e 20 |cols...F|UNCTION |
|000030d0| 53 43 53 49 53 65 6c 65 | 63 74 20 28 74 61 72 67 |SCSISele|ct (targ|
|000030e0| 65 74 49 44 3a 20 49 4e | 54 45 47 45 52 29 20 3a |etID: IN|TEGER) :|
|000030f0| 20 4f 53 45 72 72 3b 0d | 0d 53 43 53 49 53 65 6c | OSErr;.|.SCSISel|
|00003100| 65 63 74 20 73 65 6c 65 | 63 74 73 20 74 68 65 20 |ect sele|cts the |
|00003110| 64 65 76 69 63 65 20 77 | 68 6f 73 65 20 49 44 20 |device w|hose ID |
|00003120| 69 73 20 69 6e 20 74 61 | 72 67 65 74 49 44 2e 0d |is in ta|rgetID..|
|00003130| 0d 52 65 73 75 6c 74 20 | 63 6f 64 65 73 09 6e 6f |.Result |codes.no|
|00003140| 45 72 72 09 4e 6f 20 65 | 72 72 6f 72 0d 09 63 6f |Err.No e|rror..co|
|00003150| 6d 6d 45 72 72 09 42 72 | 65 61 6b 64 6f 77 6e 20 |mmErr.Br|eakdown |
|00003160| 69 6e 20 53 43 53 49 20 | 70 72 6f 74 6f 63 6f 6c |in SCSI |protocol|
|00003170| 73 0d 0d 0d 46 55 4e 43 | 54 49 4f 4e 20 53 43 53 |s...FUNC|TION SCS|
|00003180| 49 43 6d 64 20 28 62 75 | 66 66 65 72 3a 20 50 74 |ICmd (bu|ffer: Pt|
|00003190| 72 3b 20 63 6f 75 6e 74 | 3a 20 49 4e 54 45 47 45 |r; count|: INTEGE|
|000031a0| 52 29 20 3a 20 4f 53 45 | 72 72 3b 0d 0d 53 43 53 |R) : OSE|rr;..SCS|
|000031b0| 49 43 6d 64 20 73 65 6e | 64 73 20 74 68 65 20 63 |ICmd sen|ds the c|
|000031c0| 6f 6d 6d 61 6e 64 20 70 | 6f 69 6e 74 65 64 20 74 |ommand p|ointed t|
|000031d0| 6f 20 62 79 20 62 75 66 | 66 65 72 20 74 6f 20 74 |o by buf|fer to t|
|000031e0| 68 65 20 73 65 6c 65 63 | 74 65 64 20 74 61 72 67 |he selec|ted targ|
|000031f0| 65 74 20 64 65 76 69 63 | 65 2e 20 20 54 68 65 20 |et devic|e. The |
|00003200| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 63 6f 6d 6d |size of |the comm|
|00003210| 61 6e 64 20 69 6e 20 62 | 79 74 65 73 20 69 73 20 |and in b|ytes is |
|00003220| 73 70 65 63 69 66 69 65 | 64 20 69 6e 20 63 6f 75 |specifie|d in cou|
|00003230| 6e 74 2e 0d 0d 52 65 73 | 75 6c 74 20 63 6f 64 65 |nt...Res|ult code|
|00003240| 73 09 6e 6f 45 72 72 09 | 4e 6f 20 65 72 72 6f 72 |s.noErr.|No error|
|00003250| 0d 09 63 6f 6d 6d 45 72 | 72 09 42 72 65 61 6b 64 |..commEr|r.Breakd|
|00003260| 6f 77 6e 20 69 6e 20 53 | 43 53 49 20 70 72 6f 74 |own in S|CSI prot|
|00003270| 6f 63 6f 6c 73 0d 09 70 | 68 61 73 65 45 72 72 09 |ocols..p|haseErr.|
|00003280| 50 68 61 73 65 20 65 72 | 72 6f 72 09 0d 0d 0d 46 |Phase er|ror....F|
|00003290| 55 4e 43 54 49 4f 4e 20 | 53 43 53 49 52 65 61 64 |UNCTION |SCSIRead|
|000032a0| 20 28 74 69 62 50 74 72 | 3a 20 50 74 72 29 20 3a | (tibPtr|: Ptr) :|
|000032b0| 20 4f 53 45 72 72 3b 0d | 0d 53 43 53 49 52 65 61 | OSErr;.|.SCSIRea|
|000032c0| 64 20 74 72 61 6e 73 66 | 65 72 73 20 64 61 74 61 |d transf|ers data|
|000032d0| 20 66 72 6f 6d 20 74 68 | 65 20 74 61 72 67 65 74 | from th|e target|
|000032e0| 20 74 6f 20 74 68 65 20 | 69 6e 69 74 69 61 74 6f | to the |initiato|
|000032f0| 72 2c 20 61 73 20 73 70 | 65 63 69 66 69 65 64 20 |r, as sp|ecified |
|00003300| 69 6e 20 74 68 65 20 74 | 72 61 6e 73 66 65 72 20 |in the t|ransfer |
|00003310| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 62 6c 6f 63 |instruct|ion bloc|
|00003320| 6b 20 70 6f 69 6e 74 65 | 64 20 74 6f 20 62 79 20 |k pointe|d to by |
|00003330| 74 69 62 50 74 72 2e 0d | 0d 52 65 73 75 6c 74 20 |tibPtr..|.Result |
|00003340| 63 6f 64 65 73 09 6e 6f | 45 72 72 09 4e 6f 20 65 |codes.no|Err.No e|
|00003350| 72 72 6f 72 0d 09 62 61 | 64 50 61 72 6d 73 45 72 |rror..ba|dParmsEr|
|00003360| 72 09 55 6e 72 65 63 6f | 67 6e 69 7a 65 64 20 69 |r.Unreco|gnized i|
|00003370| 6e 73 74 72 75 63 74 69 | 6f 6e 20 69 6e 20 74 72 |nstructi|on in tr|
|00003380| 61 6e 73 66 65 72 20 69 | 6e 73 74 72 75 63 74 69 |ansfer i|nstructi|
|00003390| 6f 6e 20 62 6c 6f 63 6b | 0d 09 63 6f 6d 6d 45 72 |on block|..commEr|
|000033a0| 72 09 42 72 65 61 6b 64 | 6f 77 6e 20 69 6e 20 53 |r.Breakd|own in S|
|000033b0| 43 53 49 20 70 72 6f 74 | 6f 63 6f 6c 73 0d 09 63 |CSI prot|ocols..c|
|000033c0| 6f 6d 70 61 72 65 45 72 | 72 09 44 61 74 61 20 63 |ompareEr|r.Data c|
|000033d0| 6f 6d 70 61 72 69 73 6f | 6e 20 65 72 72 6f 72 20 |ompariso|n error |
|000033e0| 28 77 69 74 68 20 73 63 | 43 6f 6d 70 20 63 6f 6d |(with sc|Comp com|
|000033f0| 6d 61 6e 64 20 69 6e 0d | 09 09 74 72 61 6e 73 66 |mand in.|..transf|
|00003400| 65 72 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 62 |er instr|uction b|
|00003410| 6c 6f 63 6b 29 0d 09 70 | 68 61 73 65 45 72 72 09 |lock)..p|haseErr.|
|00003420| 50 68 61 73 65 20 65 72 | 72 6f 72 09 0d 0d 0d 46 |Phase er|ror....F|
|00003430| 55 4e 43 54 49 4f 4e 20 | 53 43 53 49 52 42 6c 69 |UNCTION |SCSIRBli|
|00003440| 6e 64 20 28 74 69 62 50 | 74 72 3a 20 50 74 72 29 |nd (tibP|tr: Ptr)|
|00003450| 20 3a 20 4f 53 45 72 72 | 3b 0d 0d 53 43 53 49 52 | : OSErr|;..SCSIR|
|00003460| 42 6c 69 6e 64 20 69 73 | 20 66 75 6e 63 74 69 6f |Blind is| functio|
|00003470| 6e 61 6c 6c 79 20 69 64 | 65 6e 74 69 63 61 6c 20 |nally id|entical |
|00003480| 74 6f 20 53 43 53 49 52 | 65 61 64 2c 20 62 75 74 |to SCSIR|ead, but|
|00003490| 20 64 6f 65 73 20 6e 6f | 74 20 70 6f 6c 6c 20 61 | does no|t poll a|
|000034a0| 6e 64 20 77 61 69 74 20 | 66 6f 72 20 74 68 65 20 |nd wait |for the |
|000034b0| 2f 52 45 51 20 6c 69 6e | 65 20 6f 6e 20 65 61 63 |/REQ lin|e on eac|
|000034c0| 68 20 64 61 74 61 20 62 | 79 74 65 2e 20 20 52 61 |h data b|yte. Ra|
|000034d0| 74 68 65 72 2c 20 74 68 | 65 20 2f 52 45 51 20 6c |ther, th|e /REQ l|
|000034e0| 69 6e 65 20 69 73 20 70 | 6f 6c 6c 65 64 20 6f 6e |ine is p|olled on|
|000034f0| 6c 79 20 66 6f 72 20 74 | 68 65 20 66 69 72 73 74 |ly for t|he first|
|00003500| 20 62 79 74 65 20 74 72 | 61 6e 73 66 65 72 72 65 | byte tr|ansferre|
|00003510| 64 20 62 79 20 65 61 63 | 68 20 53 43 49 4e 43 2c |d by eac|h SCINC,|
|00003520| 20 53 43 4e 4f 49 4e 43 | 2c 20 6f 72 20 53 43 43 | SCNOINC|, or SCC|
|00003530| 4f 4d 50 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 2e |OMP inst|ruction.|
|00003540| 20 20 46 6f 72 20 69 6e | 73 74 61 6e 63 65 2c 20 | For in|stance, |
|00003550| 67 69 76 65 6e 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |given th|e follow|
|00003560| 69 6e 67 20 74 72 61 6e | 73 66 65 72 20 69 6e 73 |ing tran|sfer ins|
|00003570| 74 72 75 63 74 69 6f 6e | 20 62 6c 6f 63 6b 20 0d |truction| block .|
|00003580| 0d 53 43 49 4e 43 09 24 | 36 37 42 35 30 09 35 31 |.SCINC.$|67B50.51|
|00003590| 32 0d 53 43 4c 4f 4f 50 | 09 2d 31 30 09 36 0d 53 |2.SCLOOP|.-10.6.S|
|000035a0| 43 53 54 4f 50 0d 0d 53 | 43 53 49 52 42 6c 69 6e |CSTOP..S|CSIRBlin|
|000035b0| 64 20 70 6f 6c 6c 73 20 | 61 6e 64 20 77 61 69 74 |d polls |and wait|
|000035c0| 73 20 6f 6e 6c 79 20 66 | 6f 72 20 74 68 65 20 66 |s only f|or the f|
|000035d0| 69 72 73 74 20 62 79 74 | 65 20 6f 66 20 65 61 63 |irst byt|e of eac|
|000035e0| 68 20 35 31 32 4b 2d 62 | 79 74 65 20 62 6c 6f 63 |h 512K-b|yte bloc|
|000035f0| 6b 20 74 72 61 6e 73 66 | 65 72 72 65 64 2e 20 0d |k transf|erred. .|
|00003600| 0d 52 65 73 75 6c 74 20 | 63 6f 64 65 73 09 6e 6f |.Result |codes.no|
|00003610| 45 72 72 09 4e 6f 20 65 | 72 72 6f 72 0d 09 62 61 |Err.No e|rror..ba|
|00003620| 64 50 61 72 6d 73 45 72 | 72 09 55 6e 72 65 63 6f |dParmsEr|r.Unreco|
|00003630| 67 6e 69 7a 65 64 20 69 | 6e 73 74 72 75 63 74 69 |gnized i|nstructi|
|00003640| 6f 6e 0d 09 63 6f 6d 6d | 45 72 72 09 42 72 65 61 |on..comm|Err.Brea|
|00003650| 6b 64 6f 77 6e 20 69 6e | 20 53 43 53 49 20 70 72 |kdown in| SCSI pr|
|00003660| 6f 74 6f 63 6f 6c 73 0d | 09 63 6f 6d 70 61 72 65 |otocols.|.compare|
|00003670| 45 72 72 09 44 61 74 61 | 20 63 6f 6d 70 61 72 69 |Err.Data| compari|
|00003680| 73 6f 6e 20 65 72 72 6f | 72 0d 09 70 68 61 73 65 |son erro|r..phase|
|00003690| 45 72 72 09 50 68 61 73 | 65 20 65 72 72 6f 72 09 |Err.Phas|e error.|
|000036a0| 0d 0d 0d 46 55 4e 43 54 | 49 4f 4e 20 53 43 53 49 |...FUNCT|ION SCSI|
|000036b0| 57 72 69 74 65 20 28 74 | 69 62 50 74 72 3a 20 50 |Write (t|ibPtr: P|
|000036c0| 74 72 29 20 3a 20 4f 53 | 45 72 72 3b 0d 0d 53 43 |tr) : OS|Err;..SC|
|000036d0| 53 49 57 72 69 74 65 20 | 74 72 61 6e 73 66 65 72 |SIWrite |transfer|
|000036e0| 73 20 64 61 74 61 20 66 | 72 6f 6d 20 74 68 65 20 |s data f|rom the |
|000036f0| 69 6e 69 74 69 61 74 6f | 72 20 74 6f 20 74 68 65 |initiato|r to the|
|00003700| 20 74 61 72 67 65 74 2c | 20 61 73 20 73 70 65 63 | target,| as spec|
|00003710| 69 66 69 65 64 20 69 6e | 20 74 68 65 20 63 6f 6d |ified in| the com|
|00003720| 6d 61 6e 64 20 64 65 73 | 63 72 69 70 74 6f 72 20 |mand des|criptor |
|00003730| 62 6c 6f 63 6b 20 70 6f | 69 6e 74 65 64 20 74 6f |block po|inted to|
|00003740| 20 62 79 20 74 69 62 50 | 74 72 2e 0d 0d 52 65 73 | by tibP|tr...Res|
|00003750| 75 6c 74 20 63 6f 64 65 | 73 09 6e 6f 45 72 72 09 |ult code|s.noErr.|
|00003760| 4e 6f 20 65 72 72 6f 72 | 0d 09 62 61 64 50 61 72 |No error|..badPar|
|00003770| 6d 73 45 72 72 09 55 6e | 72 65 63 6f 67 6e 69 7a |msErr.Un|recogniz|
|00003780| 65 64 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 0d 09 |ed instr|uction..|
|00003790| 63 6f 6d 6d 45 72 72 09 | 42 72 65 61 6b 64 6f 77 |commErr.|Breakdow|
|000037a0| 6e 20 69 6e 20 53 43 53 | 49 20 70 72 6f 74 6f 63 |n in SCS|I protoc|
|000037b0| 6f 6c 73 0d 09 70 68 61 | 73 65 45 72 72 09 50 68 |ols..pha|seErr.Ph|
|000037c0| 61 73 65 20 65 72 72 6f | 72 09 0d 0d 0d 46 55 4e |ase erro|r....FUN|
|000037d0| 43 54 49 4f 4e 20 53 43 | 53 49 57 42 6c 69 6e 64 |CTION SC|SIWBlind|
|000037e0| 20 28 74 69 62 50 74 72 | 3a 20 50 74 72 29 20 3a | (tibPtr|: Ptr) :|
|000037f0| 20 4f 53 45 72 72 3b 0d | 0d 53 43 53 49 57 42 6c | OSErr;.|.SCSIWBl|
|00003800| 69 6e 64 20 69 73 20 66 | 75 6e 63 74 69 6f 6e 61 |ind is f|unctiona|
|00003810| 6c 6c 79 20 69 64 65 6e | 74 69 63 61 6c 20 74 6f |lly iden|tical to|
|00003820| 20 53 43 53 49 57 72 69 | 74 65 2c 20 62 75 74 20 | SCSIWri|te, but |
|00003830| 64 6f 65 73 20 6e 6f 74 | 20 70 6f 6c 6c 20 61 6e |does not| poll an|
|00003840| 64 20 77 61 69 74 20 66 | 6f 72 20 74 68 65 20 2f |d wait f|or the /|
|00003850| 52 45 51 20 6c 69 6e 65 | 20 6f 6e 20 65 61 63 68 |REQ line| on each|
|00003860| 20 64 61 74 61 20 62 79 | 74 65 2e 20 20 41 73 20 | data by|te. As |
|00003870| 77 69 74 68 20 53 43 53 | 49 52 42 6c 69 6e 64 2c |with SCS|IRBlind,|
|00003880| 20 53 43 53 49 57 42 6c | 69 6e 64 20 70 6f 6c 6c | SCSIWBl|ind poll|
|00003890| 73 20 74 68 65 20 2f 52 | 45 51 20 6c 69 6e 65 20 |s the /R|EQ line |
|000038a0| 6f 6e 6c 79 20 66 6f 72 | 20 74 68 65 20 66 69 72 |only for| the fir|
|000038b0| 73 74 20 62 79 74 65 20 | 74 72 61 6e 73 66 65 72 |st byte |transfer|
|000038c0| 72 65 64 20 62 79 20 65 | 61 63 68 20 53 43 49 4e |red by e|ach SCIN|
|000038d0| 43 2c 20 53 43 4e 4f 49 | 4e 43 2c 20 6f 72 20 53 |C, SCNOI|NC, or S|
|000038e0| 43 43 4f 4d 50 20 69 6e | 73 74 72 75 63 74 69 6f |CCOMP in|structio|
|000038f0| 6e 2e 20 0d 0d 52 65 73 | 75 6c 74 20 63 6f 64 65 |n. ..Res|ult code|
|00003900| 73 09 6e 6f 45 72 72 09 | 4e 6f 20 65 72 72 6f 72 |s.noErr.|No error|
|00003910| 0d 09 62 61 64 50 61 72 | 6d 73 45 72 72 09 55 6e |..badPar|msErr.Un|
|00003920| 72 65 63 6f 67 6e 69 7a | 65 64 20 69 6e 73 74 72 |recogniz|ed instr|
|00003930| 75 63 74 69 6f 6e 0d 09 | 63 6f 6d 6d 45 72 72 09 |uction..|commErr.|
|00003940| 42 72 65 61 6b 64 6f 77 | 6e 20 69 6e 20 53 43 53 |Breakdow|n in SCS|
|00003950| 49 20 70 72 6f 74 6f 63 | 6f 6c 73 0d 09 70 68 61 |I protoc|ols..pha|
|00003960| 73 65 45 72 72 09 50 68 | 61 73 65 20 65 72 72 6f |seErr.Ph|ase erro|
|00003970| 72 09 0d 0d 0d 46 55 4e | 43 54 49 4f 4e 20 53 43 |r....FUN|CTION SC|
|00003980| 53 49 43 6f 6d 70 6c 65 | 74 65 20 28 56 41 52 20 |SIComple|te (VAR |
|00003990| 73 74 61 74 2c 6d 65 73 | 73 61 67 65 3a 20 49 4e |stat,mes|sage: IN|
|000039a0| 54 45 47 45 52 3b 20 77 | 61 69 74 3a 20 4c 4f 4e |TEGER; w|ait: LON|
|000039b0| 47 49 4e 54 29 20 3a 20 | 4f 53 45 72 72 3b 0d 0d |GINT) : |OSErr;..|
|000039c0| 53 43 53 49 43 6f 6d 70 | 6c 65 74 65 20 67 69 76 |SCSIComp|lete giv|
|000039d0| 65 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 63 |es the c|urrent c|
|000039e0| 6f 6d 6d 61 6e 64 20 77 | 61 69 74 20 6e 75 6d 62 |ommand w|ait numb|
|000039f0| 65 72 20 6f 66 20 74 69 | 63 6b 73 20 74 6f 20 63 |er of ti|cks to c|
|00003a00| 6f 6d 70 6c 65 74 65 3b | 20 74 68 65 20 74 77 6f |omplete;| the two|
|00003a10| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 62 79 74 65 | complet|ion byte|
|00003a20| 73 20 61 72 65 20 72 65 | 74 75 72 6e 65 64 20 69 |s are re|turned i|
|00003a30| 6e 20 73 74 61 74 20 61 | 6e 64 20 6d 65 73 73 61 |n stat a|nd messa|
|00003a40| 67 65 2e 0d 0d 52 65 73 | 75 6c 74 20 63 6f 64 65 |ge...Res|ult code|
|00003a50| 73 09 6e 6f 45 72 72 09 | 4e 6f 20 65 72 72 6f 72 |s.noErr.|No error|
|00003a60| 0d 09 63 6f 6d 6d 45 72 | 72 09 42 72 65 61 6b 64 |..commEr|r.Breakd|
|00003a70| 6f 77 6e 20 69 6e 20 53 | 43 53 49 20 70 72 6f 74 |own in S|CSI prot|
|00003a80| 6f 63 6f 6c 73 0d 09 70 | 68 61 73 65 45 72 72 09 |ocols..p|haseErr.|
|00003a90| 50 68 61 73 65 20 65 72 | 72 6f 72 09 0d 0d 0d 46 |Phase er|ror....F|
|00003aa0| 55 4e 43 54 49 4f 4e 20 | 53 43 53 49 53 74 61 74 |UNCTION |SCSIStat|
|00003ab0| 20 3a 20 49 4e 54 45 47 | 45 52 3b 0d 0d 54 68 69 | : INTEG|ER;..Thi|
|00003ac0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 74 75 72 |s functi|on retur|
|00003ad0| 6e 73 20 61 20 62 69 74 | 20 6d 61 70 20 6f 66 20 |ns a bit| map of |
|00003ae0| 53 43 53 49 20 63 6f 6e | 74 72 6f 6c 20 61 6e 64 |SCSI con|trol and|
|00003af0| 20 73 74 61 74 75 73 20 | 62 69 74 73 3b 20 74 68 | status |bits; th|
|00003b00| 65 73 65 20 62 69 74 73 | 20 61 72 65 20 73 68 6f |ese bits| are sho|
|00003b10| 77 6e 20 69 6e 20 46 69 | 67 75 72 65 20 31 2e 20 |wn in Fi|gure 1. |
|00003b20| 20 53 65 65 20 74 68 65 | 20 4e 43 52 20 35 33 38 | See the| NCR 538|
|00003b30| 30 20 53 43 53 49 20 63 | 68 69 70 20 64 6f 63 75 |0 SCSI c|hip docu|
|00003b40| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 61 20 |mentatio|n for a |
|00003b50| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 74 |descript|ion of t|
|00003b60| 68 65 73 65 20 73 69 67 | 6e 61 6c 73 2e 20 28 42 |hese sig|nals. (B|
|00003b70| 69 74 73 20 30 2d 39 20 | 61 72 65 20 63 6f 6d 70 |its 0-9 |are comp|
|00003b80| 6c 65 6d 65 6e 74 73 20 | 6f 66 20 74 68 65 20 53 |lements |of the S|
|00003b90| 43 53 49 20 62 75 73 20 | 73 74 61 6e 64 61 72 64 |CSI bus |standard|
|00003ba0| 20 73 69 67 6e 61 6c 73 | 2e 29 0d 0d 0d 0d 0d 0d | signals|.)......|
|00003bb0| 0d 46 69 67 75 72 65 20 | 31 2e 20 20 53 43 53 49 |.Figure |1. SCSI|
|00003bc0| 20 43 6f 6e 74 72 6f 6c | 20 61 6e 64 20 53 74 61 | Control| and Sta|
|00003bd0| 74 75 73 20 42 69 74 73 | 0d 0d 52 65 73 75 6c 74 |tus Bits|..Result|
|00003be0| 20 63 6f 64 65 73 09 6e | 6f 45 72 72 09 4e 6f 20 | codes.n|oErr.No |
|00003bf0| 65 72 72 6f 72 0d 09 63 | 6f 6d 6d 45 72 72 09 42 |error..c|ommErr.B|
|00003c00| 72 65 61 6b 64 6f 77 6e | 20 69 6e 20 53 43 53 49 |reakdown| in SCSI|
|00003c10| 20 70 72 6f 74 6f 63 6f | 6c 73 0d 09 70 68 61 73 | protoco|ls..phas|
|00003c20| 65 45 72 72 09 50 68 61 | 73 65 20 65 72 72 6f 72 |eErr.Pha|se error|
|00003c30| 09 0d 0d 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |..._____|________|
|00003c40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 0d 0d 57 52 49 |________|___..WRI|
|00003c80| 54 49 4e 47 20 41 20 44 | 52 49 56 45 52 20 46 4f |TING A D|RIVER FO|
|00003c90| 52 20 41 20 53 43 53 49 | 20 42 4c 4f 43 4b 20 44 |R A SCSI| BLOCK D|
|00003ca0| 45 56 49 43 45 20 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |EVICE ._|________|
|00003cb0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003cc0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003cd0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003ce0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|00003cf0| 44 65 76 69 63 65 20 64 | 72 69 76 65 72 73 20 61 |Device d|rivers a|
|00003d00| 72 65 20 75 73 75 61 6c | 6c 79 20 77 72 69 74 74 |re usual|ly writt|
|00003d10| 65 6e 20 69 6e 20 61 73 | 73 65 6d 62 6c 79 20 6c |en in as|sembly l|
|00003d20| 61 6e 67 75 61 67 65 2e | 20 20 54 68 65 20 73 74 |anguage.| The st|
|00003d30| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 64 65 76 |ructure |of a dev|
|00003d40| 69 63 65 20 64 72 69 76 | 65 72 20 69 73 20 64 65 |ice driv|er is de|
|00003d50| 73 63 72 69 62 65 64 20 | 69 6e 20 74 68 65 20 44 |scribed |in the D|
|00003d60| 65 76 69 63 65 20 4d 61 | 6e 61 67 65 72 20 63 68 |evice Ma|nager ch|
|00003d70| 61 70 74 65 72 2e 20 20 | 54 68 69 73 20 73 65 63 |apter. |This sec|
|00003d80| 74 69 6f 6e 20 70 72 65 | 73 65 6e 74 73 20 61 64 |tion pre|sents ad|
|00003d90| 64 69 74 69 6f 6e 61 6c | 20 69 6e 66 6f 72 6d 61 |ditional| informa|
|00003da0| 74 69 6f 6e 20 74 6f 20 | 65 6e 61 62 6c 65 20 53 |tion to |enable S|
|00003db0| 43 53 49 20 62 6c 6f 63 | 6b 20 64 65 76 69 63 65 |CSI bloc|k device|
|00003dc0| 73 20 74 6f 20 70 65 72 | 66 6f 72 6d 20 74 68 65 |s to per|form the|
|00003dd0| 20 4d 61 63 69 6e 74 6f | 73 68 20 73 79 73 74 65 | Macinto|sh syste|
|00003de0| 6d 20 73 74 61 72 74 75 | 70 2e 0d 0d 46 6f 72 20 |m startu|p...For |
|00003df0| 65 61 63 68 20 61 74 74 | 61 63 68 65 64 20 53 43 |each att|ached SC|
|00003e00| 53 49 20 64 65 76 69 63 | 65 2c 20 74 68 65 20 52 |SI devic|e, the R|
|00003e10| 4f 4d 20 61 74 74 65 6d | 70 74 73 20 74 6f 20 72 |OM attem|pts to r|
|00003e20| 65 61 64 20 69 6e 20 69 | 74 73 20 64 72 69 76 65 |ead in i|ts drive|
|00003e30| 72 20 70 72 69 6f 72 20 | 74 6f 20 73 79 73 74 65 |r prior |to syste|
|00003e40| 6d 20 73 74 61 72 74 75 | 70 2e 20 20 49 6e 20 6f |m startu|p. In o|
|00003e50| 72 64 65 72 20 74 6f 20 | 62 65 20 6c 6f 61 64 65 |rder to |be loade|
|00003e60| 64 2c 20 74 68 65 20 64 | 65 76 69 63 65 20 6d 75 |d, the d|evice mu|
|00003e70| 73 74 20 70 6c 61 63 65 | 20 74 77 6f 20 64 61 74 |st place| two dat|
|00003e80| 61 20 73 74 72 75 63 74 | 75 72 65 73 20 49 4e 20 |a struct|ures IN |
|00003e90| 74 68 65 20 66 69 72 73 | 74 20 74 77 6f 20 70 68 |the firs|t two ph|
|00003ea0| 79 73 69 63 61 6c 20 62 | 6c 6f 63 6b 73 2e 20 20 |ysical b|locks. |
|00003eb0| 41 20 64 72 69 76 65 72 | 20 64 65 73 63 72 69 70 |A driver| descrip|
|00003ec0| 74 6f 72 20 6d 61 70 20 | 6d 75 73 74 20 62 65 20 |tor map |must be |
|00003ed0| 70 75 74 20 61 74 20 74 | 68 65 20 73 74 61 72 74 |put at t|he start|
|00003ee0| 20 6f 66 20 70 68 79 73 | 69 63 61 6c 20 62 6c 6f | of phys|ical blo|
|00003ef0| 63 6b 20 30 3b 20 69 74 | 20 69 64 65 6e 74 69 66 |ck 0; it| identif|
|00003f00| 69 65 73 20 74 68 65 20 | 76 61 72 69 6f 75 73 20 |ies the |various |
|00003f10| 64 65 76 69 63 65 20 64 | 72 69 76 65 72 73 20 61 |device d|rivers a|
|00003f20| 76 61 69 6c 61 62 6c 65 | 20 66 6f 72 20 6c 6f 61 |vailable| for loa|
|00003f30| 64 69 6e 67 20 28 73 65 | 65 20 46 69 67 75 72 65 |ding (se|e Figure|
|00003f40| 20 32 29 2e 20 20 54 68 | 65 20 64 72 69 76 65 72 | 2). Th|e driver|
|00003f50| 73 20 63 61 6e 20 74 68 | 65 6e 20 62 65 20 6c 6f |s can th|en be lo|
|00003f60| 63 61 74 65 64 20 61 6e | 79 77 68 65 72 65 20 65 |cated an|ywhere e|
|00003f70| 6c 73 65 20 6f 6e 20 74 | 68 65 20 64 65 76 69 63 |lse on t|he devic|
|00003f80| 65 20 61 6e 64 20 63 61 | 6e 20 62 65 20 61 73 20 |e and ca|n be as |
|00003f90| 6c 61 72 67 65 20 61 73 | 20 6e 65 63 65 73 73 61 |large as| necessa|
|00003fa0| 72 79 2e 0d 0d 0d 0d 0d | 0d 0d 0d 0d 46 69 67 75 |ry......|....Figu|
|00003fb0| 72 65 20 32 2e 20 20 44 | 72 69 76 65 72 20 44 65 |re 2. D|river De|
|00003fc0| 73 63 72 69 70 74 6f 72 | 20 4d 61 70 0d 0d 41 20 |scriptor| Map..A |
|00003fd0| 73 65 63 6f 6e 64 20 64 | 61 74 61 20 73 74 72 75 |second d|ata stru|
|00003fe0| 63 74 75 72 65 2c 20 74 | 68 65 20 64 65 76 69 63 |cture, t|he devic|
|00003ff0| 65 20 70 61 72 74 69 74 | 69 6f 6e 20 6d 61 70 2c |e partit|ion map,|
|00004000| 20 6d 75 73 74 20 62 65 | 20 70 75 74 20 61 74 20 | must be| put at |
|00004010| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 70 68 79 |the star|t of phy|
|00004020| 73 69 63 61 6c 20 62 6c | 6f 63 6b 20 31 3b 20 69 |sical bl|ock 1; i|
|00004030| 74 20 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |t descri|bes the |
|00004040| 61 6c 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 62 6c |allocati|on of bl|
|00004050| 6f 63 6b 73 20 6f 6e 20 | 74 68 65 20 64 65 76 69 |ocks on |the devi|
|00004060| 63 65 20 66 6f 72 20 64 | 69 66 66 65 72 65 6e 74 |ce for d|ifferent|
|00004070| 20 70 61 72 74 69 74 69 | 6f 6e 73 20 61 6e 64 2f | partiti|ons and/|
|00004080| 6f 72 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |or opera|ting sys|
|00004090| 74 65 6d 73 20 28 73 65 | 65 20 46 69 67 75 72 65 |tems (se|e Figure|
|000040a0| 20 33 29 2e 0d 0d 0d 0d | 0d 0d 0d 0d 0d 0d 0d 0d | 3).....|........|
|000040b0| 0d 0d 0d 0d 0d 46 69 67 | 75 72 65 20 33 2e 20 20 |.....Fig|ure 3. |
|000040c0| 44 65 76 69 63 65 20 50 | 61 72 74 69 74 69 6f 6e |Device P|artition|
|000040d0| 20 4d 61 70 0d 0d 54 68 | 65 20 73 79 73 74 65 6d | Map..Th|e system|
|000040e0| 20 73 74 61 72 74 75 70 | 20 70 72 6f 63 65 64 75 | startup| procedu|
|000040f0| 72 65 20 74 61 6b 65 73 | 20 74 68 65 20 66 6f 6c |re takes| the fol|
|00004100| 6c 6f 77 69 6e 67 20 73 | 74 65 70 73 3a 0d 0d 31 |lowing s|teps:..1|
|00004110| 2e 09 49 74 20 61 74 74 | 65 6d 70 74 73 20 74 6f |..It att|empts to|
|00004120| 20 73 65 6c 65 63 74 20 | 74 68 65 20 66 69 72 73 | select |the firs|
|00004130| 74 20 74 61 72 67 65 74 | 20 64 65 76 69 63 65 20 |t target| device |
|00004140| 6f 6e 20 74 68 65 20 62 | 75 73 20 62 79 20 69 74 |on the b|us by it|
|00004150| 73 20 49 44 2c 20 62 65 | 67 69 6e 6e 69 6e 67 20 |s ID, be|ginning |
|00004160| 77 69 74 68 20 74 68 65 | 20 64 65 76 69 63 65 2c |with the| device,|
|00004170| 20 69 66 20 61 6e 79 2c | 20 68 61 76 69 6e 67 20 | if any,| having |
|00004180| 61 6e 20 49 44 20 6f 66 | 20 36 2e 0d 0d 32 2e 09 |an ID of| 6...2..|
|00004190| 49 74 20 72 65 61 64 73 | 20 74 68 65 20 66 69 72 |It reads| the fir|
|000041a0| 73 74 20 32 35 36 20 62 | 79 74 65 73 20 6f 66 20 |st 256 b|ytes of |
|000041b0| 70 68 79 73 69 63 61 6c | 20 62 6c 6f 63 6b 20 30 |physical| block 0|
|000041c0| 2c 20 63 68 65 63 6b 69 | 6e 67 20 66 6f 72 20 74 |, checki|ng for t|
|000041d0| 68 65 20 73 69 67 6e 61 | 74 75 72 65 20 69 6e 64 |he signa|ture ind|
|000041e0| 69 63 61 74 69 6e 67 20 | 61 20 76 61 6c 69 64 20 |icating |a valid |
|000041f0| 64 72 69 76 65 72 20 64 | 65 73 63 72 69 70 74 6f |driver d|escripto|
|00004200| 72 20 6d 61 70 2e 20 20 | 49 74 20 74 68 65 6e 20 |r map. |It then |
|00004210| 72 65 61 64 73 20 74 68 | 65 20 64 65 76 69 63 65 |reads th|e device|
|00004220| 20 70 61 72 74 69 74 69 | 6f 6e 20 6d 61 70 20 66 | partiti|on map f|
|00004230| 72 6f 6d 20 70 68 79 73 | 69 63 61 6c 20 62 6c 6f |rom phys|ical blo|
|00004240| 63 6b 20 31 20 61 6e 64 | 20 63 68 65 63 6b 73 20 |ck 1 and| checks |
|00004250| 66 6f 72 20 74 68 65 20 | 70 72 6f 70 65 72 20 73 |for the |proper s|
|00004260| 69 67 6e 61 74 75 72 65 | 2e 0d 0d 33 2e 09 49 74 |ignature|...3..It|
|00004270| 20 73 65 61 72 63 68 65 | 73 20 74 68 65 20 64 72 | searche|s the dr|
|00004280| 69 76 65 72 20 64 65 73 | 63 72 69 70 74 6f 72 20 |iver des|criptor |
|00004290| 6d 61 70 20 66 6f 72 20 | 61 20 64 72 69 76 65 72 |map for |a driver|
|000042a0| 20 66 6f 72 20 74 68 65 | 20 4d 61 63 69 6e 74 6f | for the| Macinto|
|000042b0| 73 68 2e 0d 0d 34 2e 09 | 49 74 20 72 65 61 64 73 |sh...4..|It reads|
|000042c0| 20 74 68 65 20 64 72 69 | 76 65 72 20 66 72 6f 6d | the dri|ver from|
|000042d0| 20 74 68 65 20 69 6e 64 | 69 63 61 74 65 64 20 70 | the ind|icated p|
|000042e0| 68 79 73 69 63 61 6c 20 | 62 6c 6f 63 6b 73 20 69 |hysical |blocks i|
|000042f0| 6e 74 6f 20 74 68 65 20 | 73 79 73 74 65 6d 20 68 |nto the |system h|
|00004300| 65 61 70 2c 20 75 73 69 | 6e 67 20 73 74 61 6e 64 |eap, usi|ng stand|
|00004310| 61 72 64 20 53 43 53 49 | 20 72 65 61 64 20 63 6f |ard SCSI| read co|
|00004320| 6d 6d 61 6e 64 73 2e 20 | 20 49 74 20 63 68 65 63 |mmands. | It chec|
|00004330| 6b 73 20 66 6f 72 20 61 | 20 70 72 6f 70 65 72 20 |ks for a| proper |
|00004340| 64 72 69 76 65 72 20 73 | 69 67 6e 61 74 75 72 65 |driver s|ignature|
|00004350| 2e 0d 0d 35 2e 09 49 74 | 20 63 61 6c 6c 73 20 74 |...5..It| calls t|
|00004360| 68 65 20 64 72 69 76 65 | 72 20 74 6f 20 69 6e 73 |he drive|r to ins|
|00004370| 74 61 6c 6c 20 69 74 73 | 65 6c 66 2c 20 61 6e 64 |tall its|elf, and|
|00004380| 20 70 61 73 73 65 73 20 | 61 20 70 6f 69 6e 74 65 | passes |a pointe|
|00004390| 72 20 74 6f 20 74 68 65 | 20 64 65 76 69 63 65 20 |r to the| device |
|000043a0| 70 61 72 74 69 74 69 6f | 6e 20 6d 61 70 20 66 6f |partitio|n map fo|
|000043b0| 72 20 65 78 61 6d 69 6e | 61 74 69 6f 6e 20 62 79 |r examin|ation by|
|000043c0| 20 74 68 65 20 64 72 69 | 76 65 72 2e 0d 0d 36 2e | the dri|ver...6.|
|000043d0| 09 49 74 20 70 65 72 66 | 6f 72 6d 73 20 73 74 65 |.It perf|orms ste|
|000043e0| 70 73 20 31 20 74 68 72 | 6f 75 67 68 20 35 20 66 |ps 1 thr|ough 5 f|
|000043f0| 6f 72 20 61 6c 6c 20 6f | 74 68 65 72 20 53 43 53 |or all o|ther SCS|
|00004400| 49 20 64 65 76 69 63 65 | 73 20 6f 6e 20 74 68 65 |I device|s on the|
|00004410| 20 62 75 73 2e 0d 0d 4e | 6f 74 65 3a 20 20 44 75 | bus...N|ote: Du|
|00004420| 72 69 6e 67 20 73 79 73 | 74 65 6d 20 73 74 61 72 |ring sys|tem star|
|00004430| 74 75 70 2c 20 74 68 65 | 20 53 43 53 49 20 4d 61 |tup, the| SCSI Ma|
|00004440| 6e 61 67 65 72 20 6d 61 | 79 20 63 61 6c 6c 20 53 |nager ma|y call S|
|00004450| 43 53 49 52 65 73 65 74 | 20 61 66 74 65 72 20 79 |CSIReset| after y|
|00004460| 6f 75 72 20 64 72 69 76 | 65 72 20 68 61 73 20 62 |our driv|er has b|
|00004470| 65 65 6e 20 6c 6f 61 64 | 65 64 2e 0d 0d 53 69 6e |een load|ed...Sin|
|00004480| 63 65 20 74 68 65 20 64 | 72 69 76 65 72 20 69 73 |ce the d|river is|
|00004490| 20 63 61 6c 6c 65 64 20 | 74 6f 20 69 6e 73 74 61 | called |to insta|
|000044a0| 6c 6c 20 69 74 73 65 6c | 66 2c 20 69 74 20 6d 75 |ll itsel|f, it mu|
|000044b0| 73 74 20 63 6f 6e 74 61 | 69 6e 20 63 6f 64 65 20 |st conta|in code |
|000044c0| 74 6f 20 73 65 74 20 75 | 70 20 69 74 73 20 6f 77 |to set u|p its ow|
|000044d0| 6e 20 65 6e 74 72 79 20 | 69 6e 20 74 68 65 20 75 |n entry |in the u|
|000044e0| 6e 69 74 20 74 61 62 6c | 65 20 61 6e 64 20 74 6f |nit tabl|e and to|
|000044f0| 20 63 61 6c 6c 20 69 74 | 73 20 6f 77 6e 20 4f 70 | call it|s own Op|
|00004500| 65 6e 20 72 6f 75 74 69 | 6e 65 2e 20 20 41 6e 20 |en routi|ne. An |
|00004510| 65 78 61 6d 70 6c 65 20 | 6f 66 20 68 6f 77 20 74 |example |of how t|
|00004520| 6f 20 64 6f 20 74 68 69 | 73 20 63 61 6e 20 62 65 |o do thi|s can be|
|00004530| 20 6f 62 74 61 69 6e 65 | 64 20 66 72 6f 6d 20 4d | obtaine|d from M|
|00004540| 61 63 69 6e 74 6f 73 68 | 20 54 65 63 68 6e 69 63 |acintosh| Technic|
|00004550| 61 6c 20 53 75 70 70 6f | 72 74 2e 0d 0d 0d 41 70 |al Suppo|rt....Ap|
|00004560| 70 6c 65 27 73 20 53 43 | 53 49 20 43 6f 6d 70 61 |ple's SC|SI Compa|
|00004570| 74 69 62 69 6c 69 74 79 | 20 53 75 62 73 65 74 0d |tibility| Subset.|
|00004580| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004590| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000045a0| 5f 5f 5f 5f 5f 5f 0d 41 | 70 70 6c 65 20 68 61 73 |______.A|pple has|
|000045b0| 20 65 6e 64 6f 72 73 65 | 64 20 61 20 73 75 62 73 | endorse|d a subs|
|000045c0| 65 74 20 6f 66 20 53 43 | 53 49 20 63 6f 6d 6d 61 |et of SC|SI comma|
|000045d0| 6e 64 20 70 72 6f 74 6f | 63 6f 6c 20 70 72 6f 70 |nd proto|col prop|
|000045e0| 6f 73 65 64 20 62 79 20 | 52 6f 64 67 65 72 20 4d |osed by |Rodger M|
|000045f0| 6f 68 6d 65 20 61 6e 64 | 20 74 68 65 20 41 4e 53 |ohme and| the ANS|
|00004600| 49 20 73 75 62 73 65 74 | 20 77 6f 72 6b 69 6e 67 |I subset| working|
|00004610| 20 63 6f 6d 6d 69 74 74 | 65 65 2e 20 20 49 6e 20 | committ|ee. In |
|00004620| 74 68 69 73 20 73 75 62 | 73 65 74 2c 20 61 6c 6c |this sub|set, all|
|00004630| 20 63 6f 6d 6d 61 6e 64 | 73 20 6e 65 63 65 73 73 | command|s necess|
|00004640| 61 72 79 20 74 6f 20 69 | 6d 70 6c 65 6d 65 6e 74 |ary to i|mplement|
|00004650| 20 61 20 76 61 72 69 65 | 74 79 20 6f 66 20 64 65 | a varie|ty of de|
|00004660| 76 69 63 65 73 20 61 72 | 65 20 66 75 6c 6c 79 20 |vices ar|e fully |
|00004670| 64 65 66 69 6e 65 64 2e | 20 20 49 74 20 69 73 20 |defined.| It is |
|00004680| 41 70 70 6c 65 27 73 20 | 69 6e 74 65 6e 74 69 6f |Apple's |intentio|
|00004690| 6e 20 74 6f 20 66 75 6c | 6c 79 20 73 75 70 70 6f |n to ful|ly suppo|
|000046a0| 72 74 20 74 68 69 73 20 | 73 75 62 73 65 74 20 69 |rt this |subset i|
|000046b0| 6e 20 66 75 74 75 72 65 | 20 76 65 72 73 69 6f 6e |n future| version|
|000046c0| 73 20 6f 66 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |s of the| Macinto|
|000046d0| 73 68 2c 20 70 72 6f 76 | 69 64 69 6e 67 20 61 20 |sh, prov|iding a |
|000046e0| 22 66 75 6c 6c 2d 73 75 | 62 73 65 74 20 64 72 69 |"full-su|bset dri|
|000046f0| 76 65 72 22 20 66 6f 72 | 20 61 6e 79 20 64 65 76 |ver" for| any dev|
|00004700| 69 63 65 73 20 6f 66 20 | 61 20 67 69 76 65 6e 20 |ices of |a given |
|00004710| 74 79 70 65 20 74 68 61 | 74 20 61 6c 73 6f 20 73 |type tha|t also s|
|00004720| 75 70 70 6f 72 74 20 74 | 68 69 73 20 73 75 62 73 |upport t|his subs|
|00004730| 65 74 2e 0d 0c 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |et...___|________|
|00004740| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004750| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004760| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004770| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 0d 53 |________|_____..S|
|00004780| 55 4d 4d 41 52 59 20 4f | 46 20 54 48 45 20 53 43 |UMMARY O|F THE SC|
|00004790| 53 49 20 4d 41 4e 41 47 | 45 52 20 0d 5f 5f 5f 5f |SI MANAG|ER .____|
|000047a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000047b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000047c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000047d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000047e0| 5f 5f 5f 5f 0d 0d 43 6f | 6e 73 74 61 6e 74 73 0d |____..Co|nstants.|
|000047f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 1f 1f 5f 0d 43 4f |________|__.._.CO|
|00004800| 4e 53 54 09 7b 20 54 72 | 61 6e 73 66 65 72 20 69 |NST.{ Tr|ansfer i|
|00004810| 6e 73 74 72 75 63 74 69 | 6f 6e 20 6f 70 65 72 61 |nstructi|on opera|
|00004820| 74 69 6f 6e 20 63 6f 64 | 65 73 20 7d 0d 0d 09 73 |tion cod|es }...s|
|00004830| 63 49 6e 63 09 3d 20 31 | 3b 09 7b 53 43 49 4e 43 |cInc.= 1|;.{SCINC|
|00004840| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 7d 0d 09 73 | instruc|tion}..s|
|00004850| 63 4e 6f 49 6e 63 09 3d | 20 32 3b 09 7b 53 43 4e |cNoInc.=| 2;.{SCN|
|00004860| 4f 49 4e 43 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |OINC ins|truction|
|00004870| 7d 0d 09 73 63 41 64 64 | 09 3d 20 33 3b 09 7b 53 |}..scAdd|.= 3;.{S|
|00004880| 43 41 44 44 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |CADD ins|truction|
|00004890| 7d 0d 09 73 63 4d 6f 76 | 65 09 3d 20 34 3b 09 7b |}..scMov|e.= 4;.{|
|000048a0| 53 43 4d 4f 56 45 20 69 | 6e 73 74 72 75 63 74 69 |SCMOVE i|nstructi|
|000048b0| 6f 6e 7d 0d 09 73 63 4c | 6f 6f 70 09 3d 20 35 3b |on}..scL|oop.= 5;|
|000048c0| 09 7b 53 43 4c 4f 4f 50 | 20 69 6e 73 74 72 75 63 |.{SCLOOP| instruc|
|000048d0| 74 69 6f 6e 7d 0d 09 73 | 63 4e 4f 70 09 3d 20 36 |tion}..s|cNOp.= 6|
|000048e0| 3b 09 7b 53 43 4e 4f 50 | 20 69 6e 73 74 72 75 63 |;.{SCNOP| instruc|
|000048f0| 74 69 6f 6e 7d 0d 09 73 | 63 53 74 6f 70 09 3d 20 |tion}..s|cStop.= |
|00004900| 37 3b 09 7b 53 43 53 54 | 4f 50 20 69 6e 73 74 72 |7;.{SCST|OP instr|
|00004910| 75 63 74 69 6f 6e 7d 0d | 09 73 63 43 6f 6d 70 09 |uction}.|.scComp.|
|00004920| 3d 20 38 3b 09 7b 53 43 | 43 4f 4d 50 20 69 6e 73 |= 8;.{SC|COMP ins|
|00004930| 74 72 75 63 74 69 6f 6e | 7d 0d 0d 09 7b 20 53 43 |truction|}...{ SC|
|00004940| 53 49 20 4d 61 6e 61 67 | 65 72 20 72 65 73 75 6c |SI Manag|er resul|
|00004950| 74 20 63 6f 64 65 73 20 | 7d 0d 20 0d 09 62 61 64 |t codes |}. ..bad|
|00004960| 50 61 72 6d 73 45 72 72 | 09 3d 20 34 3b 09 7b 75 |ParmsErr|.= 4;.{u|
|00004970| 6e 72 65 63 6f 67 6e 69 | 7a 65 64 20 69 6e 73 74 |nrecogni|zed inst|
|00004980| 72 75 63 74 6f 6e 20 69 | 6e 20 74 72 61 6e 73 66 |ructon i|n transf|
|00004990| 65 72 20 7d 0d 09 09 09 | 7b 20 69 6e 73 74 72 75 |er }....|{ instru|
|000049a0| 63 74 69 6f 6e 20 62 6c | 6f 63 6b 7d 0d 09 63 6f |ction bl|ock}..co|
|000049b0| 6d 6d 45 72 72 09 3d 20 | 32 3b 09 7b 62 72 65 61 |mmErr.= |2;.{brea|
|000049c0| 6b 64 6f 77 6e 20 69 6e | 20 53 43 53 49 20 70 72 |kdown in| SCSI pr|
|000049d0| 6f 74 6f 63 6f 6c 73 3a | 20 20 75 73 75 61 6c 6c |otocols:| usuall|
|000049e0| 79 20 6e 6f 20 7d 0d 09 | 09 09 7b 20 64 65 76 69 |y no }..|..{ devi|
|000049f0| 63 65 20 63 6f 6e 6e 65 | 63 74 65 64 20 6f 72 20 |ce conne|cted or |
|00004a00| 62 75 73 20 6e 6f 74 20 | 74 65 72 6d 69 6e 61 74 |bus not |terminat|
|00004a10| 65 64 7d 0b 09 63 6f 6d | 70 61 72 65 45 72 72 09 |ed}..com|pareErr.|
|00004a20| 3d 20 36 3b 09 7b 64 61 | 74 61 20 63 6f 6d 70 61 |= 6;.{da|ta compa|
|00004a30| 72 69 73 6f 6e 20 65 72 | 72 6f 72 20 64 75 72 69 |rison er|ror duri|
|00004a40| 6e 67 20 72 65 61 64 20 | 28 77 69 74 68 20 7d 0d |ng read |(with }.|
|00004a50| 09 09 09 7b 20 53 43 43 | 4f 4d 50 20 69 6e 73 74 |...{ SCC|OMP inst|
|00004a60| 72 75 63 74 69 6f 6e 20 | 69 6e 20 74 72 61 6e 73 |ruction |in trans|
|00004a70| 66 65 72 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 20 |fer inst|ruction |
|00004a80| 7d 0d 09 09 09 7b 20 62 | 6c 6f 63 6b 29 7d 0d 09 |}....{ b|lock)}..|
|00004a90| 70 68 61 73 65 45 72 72 | 09 3d 20 35 3b 09 7b 70 |phaseErr|.= 5;.{p|
|00004aa0| 68 61 73 65 20 65 72 72 | 6f 72 3a 20 20 74 61 72 |hase err|or: tar|
|00004ab0| 67 65 74 20 61 6e 64 20 | 69 6e 69 74 69 61 74 6f |get and |initiato|
|00004ac0| 72 20 6e 6f 74 20 69 6e | 20 7d 0d 09 09 09 7b 20 |r not in| }....{ |
|00004ad0| 61 67 72 65 65 6d 65 6e | 74 20 61 73 20 74 6f 20 |agreemen|t as to |
|00004ae0| 74 79 70 65 20 6f 66 20 | 69 6e 66 6f 72 6d 61 74 |type of |informat|
|00004af0| 69 6f 6e 20 74 6f 20 7d | 0d 09 09 09 7b 20 74 72 |ion to }|....{ tr|
|00004b00| 61 6e 73 66 65 72 7d 0d | 0b 0d 44 61 74 61 20 54 |ansfer}.|..Data T|
|00004b10| 79 70 65 73 0d 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ypes.___|________|
|00004b20| 5f 5f 0d 54 59 50 45 20 | 53 43 53 49 49 6e 73 74 |__.TYPE |SCSIInst|
|00004b30| 72 20 3d 09 52 45 43 4f | 52 44 0d 09 6f 70 63 6f |r =.RECO|RD..opco|
|00004b40| 64 65 3a 09 49 4e 54 45 | 47 45 52 3b 09 7b 6f 70 |de:.INTE|GER;.{op|
|00004b50| 65 72 61 74 69 6f 6e 20 | 63 6f 64 65 7d 0d 09 70 |eration |code}..p|
|00004b60| 61 72 61 6d 31 3a 09 4c | 4f 4e 47 49 4e 54 3b 09 |aram1:.L|ONGINT;.|
|00004b70| 7b 66 69 72 73 74 20 70 | 61 72 61 6d 65 74 65 72 |{first p|arameter|
|00004b80| 7d 0d 09 70 61 72 61 6d | 32 3a 09 4c 4f 4e 47 49 |}..param|2:.LONGI|
|00004b90| 4e 54 09 7b 73 65 63 6f | 6e 64 20 70 61 72 61 6d |NT.{seco|nd param|
|00004ba0| 65 74 65 72 7d 0d 09 45 | 4e 44 3b 0d 0d 0d 52 6f |eter}..E|ND;...Ro|
|00004bb0| 75 74 69 6e 65 73 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |utines._|________|
|00004bc0| 5f 0d 46 55 4e 43 54 49 | 4f 4e 20 53 43 53 49 52 |_.FUNCTI|ON SCSIR|
|00004bd0| 65 73 65 74 20 3a 09 4f | 53 45 72 72 3b 0d 46 55 |eset :.O|SErr;.FU|
|00004be0| 4e 43 54 49 4f 4e 20 53 | 43 53 49 47 65 74 20 3a |NCTION S|CSIGet :|
|00004bf0| 09 4f 53 45 72 72 3b 0d | 46 55 4e 43 54 49 4f 4e |.OSErr;.|FUNCTION|
|00004c00| 20 53 43 53 49 53 65 6c | 65 63 74 09 28 74 61 72 | SCSISel|ect.(tar|
|00004c10| 67 65 74 49 44 3a 20 49 | 4e 54 45 47 45 52 29 20 |getID: I|NTEGER) |
|00004c20| 3a 20 4f 53 45 72 72 3b | 0d 46 55 4e 43 54 49 4f |: OSErr;|.FUNCTIO|
|00004c30| 4e 20 53 43 53 49 43 6d | 64 09 28 62 75 66 66 65 |N SCSICm|d.(buffe|
|00004c40| 72 3a 20 50 74 72 3b 20 | 63 6f 75 6e 74 3a 20 49 |r: Ptr; |count: I|
|00004c50| 4e 54 45 47 45 52 29 20 | 3a 20 4f 53 45 72 72 3b |NTEGER) |: OSErr;|
|00004c60| 0d 46 55 4e 43 54 49 4f | 4e 20 53 43 53 49 52 65 |.FUNCTIO|N SCSIRe|
|00004c70| 61 64 09 28 74 69 62 50 | 74 72 3a 20 50 74 72 29 |ad.(tibP|tr: Ptr)|
|00004c80| 20 3a 20 4f 53 45 72 72 | 3b 0d 46 55 4e 43 54 49 | : OSErr|;.FUNCTI|
|00004c90| 4f 4e 20 53 43 53 49 52 | 42 6c 69 6e 64 09 28 74 |ON SCSIR|Blind.(t|
|00004ca0| 69 62 50 74 72 3a 20 50 | 74 72 29 20 3a 20 4f 53 |ibPtr: P|tr) : OS|
|00004cb0| 45 72 72 3b 0d 46 55 4e | 43 54 49 4f 4e 20 53 43 |Err;.FUN|CTION SC|
|00004cc0| 53 49 57 72 69 74 65 09 | 28 74 69 62 50 74 72 3a |SIWrite.|(tibPtr:|
|00004cd0| 20 50 74 72 20 29 20 3a | 20 4f 53 45 72 72 3b 0d | Ptr ) :| OSErr;.|
|00004ce0| 46 55 4e 43 54 49 4f 4e | 20 53 43 53 49 57 42 6c |FUNCTION| SCSIWBl|
|00004cf0| 69 6e 64 09 28 74 69 62 | 50 74 72 3a 20 50 74 72 |ind.(tib|Ptr: Ptr|
|00004d00| 29 20 3a 20 4f 53 45 72 | 72 3b 0d 46 55 4e 43 54 |) : OSEr|r;.FUNCT|
|00004d10| 49 4f 4e 20 53 43 53 49 | 43 6f 6d 70 6c 65 74 65 |ION SCSI|Complete|
|00004d20| 09 28 56 41 52 20 73 74 | 61 74 2c 6d 65 73 73 61 |.(VAR st|at,messa|
|00004d30| 67 65 3a 20 49 4e 54 45 | 47 45 52 3b 20 77 61 69 |ge: INTE|GER; wai|
|00004d40| 74 3a 20 4c 4f 4e 47 49 | 4e 54 29 20 3a 20 4f 53 |t: LONGI|NT) : OS|
|00004d50| 45 72 72 3b 0d 46 55 4e | 43 54 49 4f 4e 20 53 43 |Err;.FUN|CTION SC|
|00004d60| 53 49 53 74 61 74 20 3a | 09 4c 4f 4e 47 49 4e 54 |SIStat :|.LONGINT|
|00004d70| 3b 0d 0d 0d 41 73 73 65 | 6d 62 6c 79 2d 4c 61 6e |;...Asse|mbly-Lan|
|00004d80| 67 75 61 67 65 20 49 6e | 66 6f 72 6d 61 74 69 6f |guage In|formatio|
|00004d90| 6e 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |n.______|________|
|00004da0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004db0| 5f 5f 5f 5f 5f 5f 0d 43 | 6f 6e 73 74 61 6e 74 73 |______.C|onstants|
|00004dc0| 0d 0d 3b 20 54 72 61 6e | 73 66 65 72 20 69 6e 73 |..; Tran|sfer ins|
|00004dd0| 74 72 75 63 74 69 6f 6e | 20 6f 70 65 72 61 74 69 |truction| operati|
|00004de0| 6f 6e 20 63 6f 64 65 73 | 0d 0d 73 63 49 6e 63 09 |on codes|..scInc.|
|00004df0| 2e 45 51 55 09 31 09 3b | 53 43 49 4e 43 20 69 6e |.EQU.1.;|SCINC in|
|00004e00| 73 74 72 75 63 74 69 6f | 6e 0d 73 63 4e 6f 49 6e |structio|n.scNoIn|
|00004e10| 63 09 2e 45 51 55 09 32 | 09 3b 53 43 4e 4f 49 4e |c..EQU.2|.;SCNOIN|
|00004e20| 43 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 0d 73 63 |C instru|ction.sc|
|00004e30| 41 64 64 09 2e 45 51 55 | 09 33 09 3b 53 43 41 44 |Add..EQU|.3.;SCAD|
|00004e40| 44 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 0d 73 63 |D instru|ction.sc|
|00004e50| 4d 6f 76 65 09 2e 45 51 | 55 09 34 09 3b 53 43 4d |Move..EQ|U.4.;SCM|
|00004e60| 4f 56 45 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 0d |OVE inst|ruction.|
|00004e70| 73 63 4c 6f 6f 70 09 2e | 45 51 55 09 35 09 3b 53 |scLoop..|EQU.5.;S|
|00004e80| 43 4c 4f 4f 50 20 69 6e | 73 74 72 75 63 74 69 6f |CLOOP in|structio|
|00004e90| 6e 0d 73 63 4e 4f 70 09 | 2e 45 51 55 09 36 09 3b |n.scNOp.|.EQU.6.;|
|00004ea0| 53 43 4e 4f 50 20 69 6e | 73 74 72 75 63 74 69 6f |SCNOP in|structio|
|00004eb0| 6e 0d 73 63 53 74 6f 70 | 09 2e 45 51 55 09 37 09 |n.scStop|..EQU.7.|
|00004ec0| 3b 53 43 53 54 4f 50 20 | 69 6e 73 74 72 75 63 74 |;SCSTOP |instruct|
|00004ed0| 69 6f 6e 0d 73 63 43 6f | 6d 70 09 2e 45 51 55 09 |ion.scCo|mp..EQU.|
|00004ee0| 38 09 3b 53 43 43 4f 4d | 50 20 69 6e 73 74 72 75 |8.;SCCOM|P instru|
|00004ef0| 63 74 69 6f 6e 0d 0d 3b | 20 52 6f 75 74 69 6e 65 |ction..;| Routine|
|00004f00| 20 73 65 6c 65 63 74 6f | 72 73 0d 0d 73 63 73 69 | selecto|rs..scsi|
|00004f10| 52 65 73 65 74 09 2e 45 | 51 55 09 30 0d 73 63 73 |Reset..E|QU.0.scs|
|00004f20| 69 47 65 74 09 2e 45 51 | 55 09 31 0d 73 63 73 69 |iGet..EQ|U.1.scsi|
|00004f30| 53 65 6c 65 63 74 09 2e | 45 51 55 09 32 0d 73 63 |Select..|EQU.2.sc|
|00004f40| 73 69 43 6d 64 09 2e 45 | 51 55 09 33 0d 73 63 73 |siCmd..E|QU.3.scs|
|00004f50| 69 43 6f 6d 70 6c 65 74 | 65 09 2e 45 51 55 09 34 |iComplet|e..EQU.4|
|00004f60| 0d 73 63 73 69 52 65 61 | 64 09 2e 45 51 55 09 35 |.scsiRea|d..EQU.5|
|00004f70| 0d 73 63 73 69 57 72 69 | 74 65 09 2e 45 51 55 09 |.scsiWri|te..EQU.|
|00004f80| 36 0d 73 63 73 69 49 6e | 73 74 61 6c 6c 09 2e 45 |6.scsiIn|stall..E|
|00004f90| 51 55 09 37 0d 73 63 73 | 69 52 42 6c 69 6e 64 09 |QU.7.scs|iRBlind.|
|00004fa0| 2e 45 51 55 09 38 0d 73 | 63 73 69 57 42 6c 69 6e |.EQU.8.s|csiWBlin|
|00004fb0| 64 09 2e 45 51 55 09 39 | 0d 73 63 73 69 53 74 61 |d..EQU.9|.scsiSta|
|00004fc0| 74 09 2e 45 51 55 09 31 | 30 0d 0d 3b 20 53 43 53 |t..EQU.1|0..; SCS|
|00004fd0| 49 20 4d 61 6e 61 67 65 | 72 20 72 65 73 75 6c 74 |I Manage|r result|
|00004fe0| 20 63 6f 64 65 73 0d 0d | 62 61 64 50 61 72 6d 73 | codes..|badParms|
|00004ff0| 45 72 72 09 2e 45 51 55 | 09 34 09 3b 75 6e 72 65 |Err..EQU|.4.;unre|
|00005000| 63 6f 67 6e 69 7a 65 64 | 20 69 6e 73 74 72 75 63 |cognized| instruc|
|00005010| 74 69 6f 6e 20 69 6e 20 | 74 72 61 6e 73 66 65 72 |tion in |transfer|
|00005020| 0d 09 09 09 3b 20 69 6e | 73 74 72 75 63 74 69 6f |....; in|structio|
|00005030| 6e 20 62 6c 6f 63 6b 0d | 63 6f 6d 6d 45 72 72 09 |n block.|commErr.|
|00005040| 2e 45 51 55 09 32 09 3b | 62 72 65 61 6b 64 6f 77 |.EQU.2.;|breakdow|
|00005050| 6e 20 69 6e 20 53 43 53 | 49 20 70 72 6f 74 6f 63 |n in SCS|I protoc|
|00005060| 6f 6c 73 3a 20 20 75 73 | 75 61 6c 6c 79 20 6e 6f |ols: us|ually no|
|00005070| 0d 09 09 09 3b 20 64 65 | 76 69 63 65 20 63 6f 6e |....; de|vice con|
|00005080| 6e 65 63 74 65 64 20 6f | 72 20 62 75 73 20 6e 6f |nected o|r bus no|
|00005090| 74 20 74 65 72 6d 69 6e | 61 74 65 64 0b 63 6f 6d |t termin|ated.com|
|000050a0| 70 61 72 65 45 72 72 09 | 2e 45 51 55 09 36 09 3b |pareErr.|.EQU.6.;|
|000050b0| 64 61 74 61 20 63 6f 6d | 70 61 72 69 73 6f 6e 20 |data com|parison |
|000050c0| 65 72 72 6f 72 20 64 75 | 72 69 6e 67 20 72 65 61 |error du|ring rea|
|000050d0| 64 20 28 77 69 74 68 0d | 09 09 09 3b 20 73 63 43 |d (with.|...; scC|
|000050e0| 6f 6d 70 20 63 6f 6d 6d | 61 6e 64 20 69 6e 20 74 |omp comm|and in t|
|000050f0| 72 61 6e 73 66 65 72 20 | 69 6e 73 74 72 75 63 74 |ransfer |instruct|
|00005100| 69 6f 6e 0d 09 09 09 3b | 20 62 6c 6f 63 6b 29 0b |ion....;| block).|
|00005110| 70 68 61 73 65 45 72 72 | 09 2e 45 51 55 09 35 09 |phaseErr|..EQU.5.|
|00005120| 3b 70 68 61 73 65 20 65 | 72 72 6f 72 3a 20 20 74 |;phase e|rror: t|
|00005130| 61 72 67 65 74 20 61 6e | 64 20 69 6e 69 74 69 61 |arget an|d initia|
|00005140| 74 6f 72 20 6e 6f 74 20 | 69 6e 0d 09 09 09 3b 20 |tor not |in....; |
|00005150| 61 67 72 65 65 6d 65 6e | 74 20 61 73 20 74 6f 20 |agreemen|t as to |
|00005160| 74 79 70 65 20 6f 66 20 | 69 6e 66 6f 72 6d 61 74 |type of |informat|
|00005170| 69 6f 6e 20 74 6f 0d 09 | 09 09 3b 20 74 72 61 6e |ion to..|..; tran|
|00005180| 73 66 65 72 20 0d 0d 0d | 54 72 61 70 20 4d 61 63 |sfer ...|Trap Mac|
|00005190| 72 6f 20 4e 61 6d 65 0d | 0d 5f 53 43 53 49 44 69 |ro Name.|._SCSIDi|
|000051a0| 73 70 61 74 63 68 0d 0c | 0d 5f 5f 5f 5f 5f 5f 5f |spatch..|._______|
|000051b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000051c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000051d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000051e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000051f0| 5f 0d 0d 47 4c 4f 53 53 | 41 52 59 0d 5f 5f 5f 5f |_..GLOSS|ARY.____|
|00005200| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005210| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005220| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005230| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005240| 5f 5f 5f 5f 0d 61 72 62 | 69 74 72 61 74 69 6f 6e |____.arb|itration|
|00005250| 20 70 68 61 73 65 3a 20 | 20 54 68 65 20 70 68 61 | phase: | The pha|
|00005260| 73 65 20 69 6e 20 77 68 | 69 63 68 20 61 6e 20 69 |se in wh|ich an i|
|00005270| 6e 69 74 69 61 74 6f 72 | 20 61 74 74 65 6d 70 74 |nitiator| attempt|
|00005280| 73 20 74 6f 20 67 61 69 | 6e 20 63 6f 6e 74 72 6f |s to gai|n contro|
|00005290| 6c 20 6f 66 20 74 68 65 | 20 62 75 73 2e 0d 0d 62 |l of the| bus...b|
|000052a0| 75 73 20 66 72 65 65 20 | 70 68 61 73 65 3a 20 20 |us free |phase: |
|000052b0| 54 68 65 20 70 68 61 73 | 65 20 69 6e 20 77 68 69 |The phas|e in whi|
|000052c0| 63 68 20 6e 6f 20 53 43 | 53 49 20 64 65 76 69 63 |ch no SC|SI devic|
|000052d0| 65 20 69 73 20 61 63 74 | 69 76 65 6c 79 20 75 73 |e is act|ively us|
|000052e0| 69 6e 67 20 74 68 65 20 | 62 75 73 2e 0d 0d 63 6f |ing the |bus...co|
|000052f0| 6d 6d 61 6e 64 20 70 68 | 61 73 65 3a 20 20 54 68 |mmand ph|ase: Th|
|00005300| 65 20 70 68 61 73 65 20 | 69 6e 20 77 68 69 63 68 |e phase |in which|
|00005310| 20 74 68 65 20 69 6e 69 | 74 69 61 74 6f 72 20 74 | the ini|tiator t|
|00005320| 65 6c 6c 73 20 74 68 65 | 20 74 61 72 67 65 74 20 |ells the| target |
|00005330| 77 68 61 74 20 6f 70 65 | 72 61 74 69 6f 6e 20 74 |what ope|ration t|
|00005340| 6f 20 70 65 72 66 6f 72 | 6d 2e 0d 0d 64 61 74 61 |o perfor|m...data|
|00005350| 20 70 68 61 73 65 3a 20 | 20 54 68 65 20 70 68 61 | phase: | The pha|
|00005360| 73 65 20 69 6e 20 77 68 | 69 63 68 20 74 68 65 20 |se in wh|ich the |
|00005370| 61 63 74 75 61 6c 20 74 | 72 61 6e 73 66 65 72 20 |actual t|ransfer |
|00005380| 6f 66 20 64 61 74 61 20 | 62 65 74 77 65 65 6e 20 |of data |between |
|00005390| 61 6e 20 69 6e 69 74 69 | 61 74 6f 72 20 61 6e 64 |an initi|ator and|
|000053a0| 20 74 61 72 67 65 74 20 | 74 61 6b 65 73 20 70 6c | target |takes pl|
|000053b0| 61 63 65 2e 0d 0d 64 65 | 76 69 63 65 20 70 61 72 |ace...de|vice par|
|000053c0| 74 69 74 69 6f 6e 20 6d | 61 70 3a 20 20 41 20 64 |tition m|ap: A d|
|000053d0| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 20 74 68 |ata stru|cture th|
|000053e0| 61 74 20 6d 75 73 74 20 | 62 65 20 70 6c 61 63 65 |at must |be place|
|000053f0| 64 20 61 74 20 74 68 65 | 20 73 74 61 72 74 20 6f |d at the| start o|
|00005400| 66 20 70 68 79 73 69 63 | 61 6c 20 62 6c 6f 63 6b |f physic|al block|
|00005410| 20 31 20 6f 66 20 61 20 | 53 43 53 49 20 64 65 76 | 1 of a |SCSI dev|
|00005420| 69 63 65 20 74 6f 20 65 | 6e 61 62 6c 65 20 69 74 |ice to e|nable it|
|00005430| 20 74 6f 20 70 65 72 66 | 6f 72 6d 20 4d 61 63 69 | to perf|orm Maci|
|00005440| 6e 74 6f 73 68 20 73 79 | 73 74 65 6d 20 73 74 61 |ntosh sy|stem sta|
|00005450| 72 74 75 70 2e 20 20 49 | 74 20 64 65 73 63 72 69 |rtup. I|t descri|
|00005460| 62 65 73 20 74 68 65 20 | 61 6c 6c 6f 63 61 74 69 |bes the |allocati|
|00005470| 6f 6e 20 6f 66 20 62 6c | 6f 63 6b 73 20 6f 6e 20 |on of bl|ocks on |
|00005480| 74 68 65 20 64 65 76 69 | 63 65 2e 0d 0d 64 72 69 |the devi|ce...dri|
|00005490| 76 65 72 20 64 65 73 63 | 72 69 70 74 6f 72 20 6d |ver desc|riptor m|
|000054a0| 61 70 3a 20 20 41 20 64 | 61 74 61 20 73 74 72 75 |ap: A d|ata stru|
|000054b0| 63 74 75 72 65 20 74 68 | 61 74 20 6d 75 73 74 20 |cture th|at must |
|000054c0| 62 65 20 70 6c 61 63 65 | 64 20 61 74 20 74 68 65 |be place|d at the|
|000054d0| 20 73 74 61 72 74 20 6f | 66 20 70 68 79 73 69 63 | start o|f physic|
|000054e0| 61 6c 20 62 6c 6f 63 6b | 20 30 20 6f 66 20 61 20 |al block| 0 of a |
|000054f0| 53 43 53 49 20 64 65 76 | 69 63 65 20 74 6f 20 65 |SCSI dev|ice to e|
|00005500| 6e 61 62 6c 65 20 69 74 | 20 74 6f 20 70 65 72 66 |nable it| to perf|
|00005510| 6f 72 6d 20 4d 61 63 69 | 6e 74 6f 73 68 20 73 79 |orm Maci|ntosh sy|
|00005520| 73 74 65 6d 20 73 74 61 | 72 74 75 70 2e 20 20 49 |stem sta|rtup. I|
|00005530| 74 20 69 64 65 6e 74 69 | 66 69 65 73 20 74 68 65 |t identi|fies the|
|00005540| 20 76 61 72 69 6f 75 73 | 20 64 65 76 69 63 65 20 | various| device |
|00005550| 64 72 69 76 65 72 73 20 | 6f 6e 20 74 68 65 20 64 |drivers |on the d|
|00005560| 65 76 69 63 65 2e 0d 0d | 69 6e 69 74 69 61 74 6f |evice...|initiato|
|00005570| 72 20 64 65 76 69 63 65 | 3a 20 20 41 20 53 43 53 |r device|: A SCS|
|00005580| 49 20 64 65 76 69 63 65 | 20 74 68 61 74 20 69 6e |I device| that in|
|00005590| 69 74 69 61 74 65 73 20 | 61 20 63 6f 6d 6d 75 6e |itiates |a commun|
|000055a0| 69 63 61 74 69 6f 6e 20 | 62 79 20 61 73 6b 69 6e |ication |by askin|
|000055b0| 67 20 61 6e 6f 74 68 65 | 72 20 64 65 76 69 63 65 |g anothe|r device|
|000055c0| 20 28 6b 6e 6f 77 6e 20 | 61 73 20 74 68 65 20 74 | (known |as the t|
|000055d0| 61 72 67 65 74 20 64 65 | 76 69 63 65 29 20 74 6f |arget de|vice) to|
|000055e0| 20 70 65 72 66 6f 72 6d | 20 61 20 63 65 72 74 61 | perform| a certa|
|000055f0| 69 6e 20 6f 70 65 72 61 | 74 69 6f 6e 2e 0d 0d 6d |in opera|tion...m|
|00005600| 65 73 73 61 67 65 20 70 | 68 61 73 65 3a 20 20 54 |essage p|hase: T|
|00005610| 68 65 20 70 68 61 73 65 | 20 69 6e 20 77 68 69 63 |he phase| in whic|
|00005620| 68 20 74 68 65 20 74 61 | 72 67 65 74 20 73 65 6e |h the ta|rget sen|
|00005630| 64 73 20 6f 6e 65 20 62 | 79 74 65 20 6f 66 20 6d |ds one b|yte of m|
|00005640| 65 73 73 61 67 65 20 69 | 6e 66 6f 72 6d 61 74 69 |essage i|nformati|
|00005650| 6f 6e 20 62 61 63 6b 20 | 74 6f 20 74 68 65 20 69 |on back |to the i|
|00005660| 6e 69 74 69 61 74 6f 72 | 2e 0d 0d 72 65 73 65 6c |nitiator|...resel|
|00005670| 65 63 74 69 6f 6e 20 70 | 68 61 73 65 3a 20 20 41 |ection p|hase: A|
|00005680| 6e 20 6f 70 74 69 6f 6e | 61 6c 20 70 68 61 73 65 |n option|al phase|
|00005690| 20 69 6e 20 77 68 69 63 | 68 20 74 68 65 20 69 6e | in whic|h the in|
|000056a0| 69 74 69 61 74 6f 72 20 | 61 6c 6c 6f 77 73 20 61 |itiator |allows a|
|000056b0| 20 74 61 72 67 65 74 20 | 64 65 76 69 63 65 20 74 | target |device t|
|000056c0| 6f 20 72 65 63 6f 6e 6e | 65 63 74 20 69 74 73 65 |o reconn|ect itse|
|000056d0| 6c 66 20 74 6f 20 74 68 | 65 20 69 6e 69 74 69 61 |lf to th|e initia|
|000056e0| 74 6f 72 2e 0d 0d 72 6f | 75 74 69 6e 65 20 73 65 |tor...ro|utine se|
|000056f0| 6c 65 63 74 6f 72 3a 20 | 20 46 6f 72 20 72 6f 75 |lector: | For rou|
|00005700| 74 69 6e 65 73 20 74 68 | 61 74 20 65 78 70 61 6e |tines th|at expan|
|00005710| 64 20 74 6f 20 74 68 65 | 20 73 61 6d 65 20 6d 61 |d to the| same ma|
|00005720| 63 72 6f 2c 20 61 6e 20 | 69 6e 74 65 67 65 72 20 |cro, an |integer |
|00005730| 74 68 61 74 27 73 20 70 | 75 73 68 65 64 20 6f 6e |that's p|ushed on|
|00005740| 74 6f 20 74 68 65 20 73 | 74 61 63 6b 20 6f 72 20 |to the s|tack or |
|00005750| 70 6c 61 63 65 64 20 69 | 6e 20 61 20 72 65 67 69 |placed i|n a regi|
|00005760| 73 74 65 72 20 62 65 66 | 6f 72 65 20 74 68 65 20 |ster bef|ore the |
|00005770| 6d 61 63 72 6f 20 69 73 | 20 69 6e 76 6f 6b 65 64 |macro is| invoked|
|00005780| 2c 20 74 6f 20 69 64 65 | 6e 74 69 66 79 20 77 68 |, to ide|ntify wh|
|00005790| 69 63 68 20 72 6f 75 74 | 69 6e 65 20 74 6f 20 65 |ich rout|ine to e|
|000057a0| 78 65 63 75 74 65 2e 20 | 20 46 6f 72 20 69 6e 73 |xecute. | For ins|
|000057b0| 74 61 6e 63 65 2c 20 61 | 6c 6c 20 53 43 53 49 20 |tance, a|ll SCSI |
|000057c0| 72 6f 75 74 69 6e 65 73 | 20 65 78 70 61 6e 64 20 |routines| expand |
|000057d0| 74 6f 20 69 6e 76 6f 6b | 65 20 74 68 65 20 74 72 |to invok|e the tr|
|000057e0| 61 70 20 6d 61 63 72 6f | 20 5f 53 43 53 49 44 69 |ap macro| _SCSIDi|
|000057f0| 73 70 61 74 63 68 3b 20 | 65 61 63 68 20 72 6f 75 |spatch; |each rou|
|00005800| 74 69 6e 65 20 68 61 73 | 20 61 20 73 65 6c 65 63 |tine has| a selec|
|00005810| 74 6f 72 20 74 68 61 74 | 27 73 20 70 61 73 73 65 |tor that|'s passe|
|00005820| 64 20 74 6f 20 74 68 65 | 20 53 43 53 49 20 4d 61 |d to the| SCSI Ma|
|00005830| 6e 61 67 65 72 20 69 6e | 20 61 20 77 6f 72 64 20 |nager in| a word |
|00005840| 6f 6e 20 74 68 65 20 73 | 74 61 63 6b 20 62 65 66 |on the s|tack bef|
|00005850| 6f 72 65 20 5f 53 43 53 | 49 44 69 73 70 61 74 63 |ore _SCS|IDispatc|
|00005860| 68 20 69 73 20 69 6e 76 | 6f 6b 65 64 2e 20 0d 0d |h is inv|oked. ..|
|00005870| 53 43 53 49 3a 20 20 53 | 65 65 20 53 6d 61 6c 6c |SCSI: S|ee Small|
|00005880| 20 43 6f 6d 70 75 74 65 | 72 20 53 74 61 6e 64 61 | Compute|r Standa|
|00005890| 72 64 20 49 6e 74 65 72 | 66 61 63 65 2e 0d 0d 73 |rd Inter|face...s|
|000058a0| 65 6c 65 63 74 69 6f 6e | 20 70 68 61 73 65 3a 20 |election| phase: |
|000058b0| 20 54 68 65 20 70 68 61 | 73 65 20 69 6e 20 77 68 | The pha|se in wh|
|000058c0| 69 63 68 20 74 68 65 20 | 69 6e 69 74 69 61 74 6f |ich the |initiato|
|000058d0| 72 20 73 65 6c 65 63 74 | 73 20 74 68 65 20 74 61 |r select|s the ta|
|000058e0| 72 67 65 74 20 64 65 76 | 69 63 65 20 74 68 61 74 |rget dev|ice that|
|000058f0| 20 77 69 6c 6c 20 62 65 | 20 61 73 6b 65 64 20 74 | will be| asked t|
|00005900| 6f 20 70 65 72 66 6f 72 | 6d 20 61 20 63 65 72 74 |o perfor|m a cert|
|00005910| 61 69 6e 20 6f 70 65 72 | 61 74 69 6f 6e 2e 0d 0d |ain oper|ation...|
|00005920| 53 6d 61 6c 6c 20 43 6f | 6d 70 75 74 65 72 20 53 |Small Co|mputer S|
|00005930| 74 61 6e 64 61 72 64 20 | 49 6e 74 65 72 66 61 63 |tandard |Interfac|
|00005940| 65 3a 20 20 41 20 73 70 | 65 63 69 66 69 63 61 74 |e: A sp|ecificat|
|00005950| 69 6f 6e 20 6f 66 20 6d | 65 63 68 61 6e 69 63 61 |ion of m|echanica|
|00005960| 6c 2c 20 65 6c 65 63 74 | 72 69 63 61 6c 2c 20 61 |l, elect|rical, a|
|00005970| 6e 64 20 66 75 6e 63 74 | 69 6f 6e 61 6c 20 73 74 |nd funct|ional st|
|00005980| 61 6e 64 61 72 64 73 20 | 66 6f 72 20 63 6f 6e 6e |andards |for conn|
|00005990| 65 63 74 69 6e 67 20 73 | 6d 61 6c 6c 20 63 6f 6d |ecting s|mall com|
|000059a0| 70 75 74 65 72 73 20 77 | 69 74 68 20 69 6e 74 65 |puters w|ith inte|
|000059b0| 6c 6c 69 67 65 6e 74 20 | 70 65 72 69 70 68 65 72 |lligent |peripher|
|000059c0| 61 6c 73 20 73 75 63 68 | 20 61 73 20 68 61 72 64 |als such| as hard|
|000059d0| 20 64 69 73 6b 73 2c 20 | 70 72 69 6e 74 65 72 73 | disks, |printers|
|000059e0| 2c 20 61 6e 64 20 6f 70 | 74 69 63 61 6c 20 64 69 |, and op|tical di|
|000059f0| 73 6b 73 2e 0d 0d 73 74 | 61 74 75 73 20 70 68 61 |sks...st|atus pha|
|00005a00| 73 65 3a 20 20 54 68 65 | 20 70 68 61 73 65 20 69 |se: The| phase i|
|00005a10| 6e 20 77 68 69 63 68 20 | 74 68 65 20 74 61 72 67 |n which |the targ|
|00005a20| 65 74 20 73 65 6e 64 73 | 20 6f 6e 65 20 62 79 74 |et sends| one byt|
|00005a30| 65 20 6f 66 20 73 74 61 | 74 75 73 20 69 6e 66 6f |e of sta|tus info|
|00005a40| 72 6d 61 74 69 6f 6e 20 | 62 61 63 6b 20 74 6f 20 |rmation |back to |
|00005a50| 74 68 65 20 69 6e 69 74 | 69 61 74 6f 72 2e 0d 0d |the init|iator...|
|00005a60| 74 61 72 67 65 74 20 64 | 65 76 69 63 65 3a 20 20 |target d|evice: |
|00005a70| 41 20 53 43 53 49 20 64 | 65 76 69 63 65 20 28 74 |A SCSI d|evice (t|
|00005a80| 79 70 69 63 61 6c 6c 79 | 20 61 6e 20 69 6e 74 65 |ypically| an inte|
|00005a90| 6c 6c 69 67 65 6e 74 20 | 70 65 72 69 70 68 65 72 |lligent |peripher|
|00005aa0| 61 6c 29 20 74 68 61 74 | 20 72 65 63 65 69 76 65 |al) that| receive|
|00005ab0| 73 20 61 20 72 65 71 75 | 65 73 74 20 66 72 6f 6d |s a requ|est from|
|00005ac0| 20 61 6e 20 69 6e 69 74 | 69 61 74 6f 72 20 64 65 | an init|iator de|
|00005ad0| 76 69 63 65 20 74 6f 20 | 70 65 72 66 6f 72 6d 20 |vice to |perform |
|00005ae0| 61 20 63 65 72 74 61 69 | 6e 20 6f 70 65 72 61 74 |a certai|n operat|
|00005af0| 69 6f 6e 2e 0d 0d 00 00 | 00 00 00 00 00 00 00 00 |ion.....|........|
|00005b00| 00 00 01 00 00 00 34 bf | 00 00 33 bf 00 00 01 d5 |......4.|..3.....|
|00005b10| 00 3c 00 78 00 94 01 95 | 00 01 01 00 00 00 00 00 |.<.x....|........|
|00005b20| 00 00 e8 61 02 46 50 00 | 00 00 15 00 00 00 00 00 |...a.FP.|........|
|00005b30| 09 53 43 53 49 20 49 6e | 66 6f 02 00 00 00 41 50 |.SCSI In|fo....AP|
|00005b40| 50 4c 44 63 61 50 21 0c | 00 00 00 80 00 00 00 00 |PLDcaP!.|........|
|00005b50| 00 00 41 50 50 4c 44 63 | 61 50 21 0c 00 00 00 80 |..APPLDc|aP!.....|
|00005b60| 00 00 08 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 9f 13 a3 3a 00 00 | 5a 76 00 00 36 94 2e 32 |.....:..|Zv..6..2|
|00005b80| 0d a9 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |..Apple |Computer|
|00005b90| 2c 20 49 6e 63 2e 20 31 | 39 38 33 2d 38 37 20 20 |, Inc. 1|983-87 |
|00005ba0| 0d 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 |.All Rig|hts Rese|
|00005bb0| 72 76 65 64 2e 00 00 00 | 20 0c 53 70 6f 6f 6c 20 |rved....| .Spool |
|00005bc0| 46 6f 6c 64 65 72 00 00 | 00 00 00 00 00 00 00 00 |Folder..|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 20 00 00 00 |........|.... ...|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 00 00 00 18 00 00 00 28 | 00 00 01 b0 00 00 00 08 |.......(|........|
|00005c10| 00 00 00 20 00 00 3f 3c | 00 01 a9 f0 00 00 24 4e |... ..?<|......$N|
|00005c20| 00 00 00 01 4e fa 1b 90 | 4e 56 ff f8 48 e7 01 08 |....N...|NV..H...|
|00005c30| 28 6e 00 08 2d 54 ff f8 | 2d 6c 00 04 ff fc 48 6e |(n..-T..|-l....Hn|
|00005c40| ff f8 a8 70 48 6e ff fc | a8 70 28 6e 00 0c 28 ae |...pHn..|.p(n..(.|
|00005c50| ff f8 29 6e ff fc 00 04 | 4c df 10 80 4e 5e 2e 9f |..)n....|L...N^..|
|00005c60| 4e 75 4e 56 00 00 48 e7 | 01 00 3e 2e 00 0a be 6e |NuNV..H.|..>....n|
|00005c70| 00 08 6f 00 00 0c 3d 6e | 00 08 00 0c 4e fa 00 08 |..o...=n|....N...|
|00005c80| 3d 6e 00 0a 00 0c 4c df | 00 80 4e 5e 2e 9f 4e 75 |=n....L.|..N^..Nu|
|00005c90| 4e 56 ff dc 48 e7 01 08 | 2d 6d fe a6 ff e4 2d 6d |NV..H...|-m....-m|
|00005ca0| fe aa ff e8 28 6e 00 0a | 2d 54 ff fc 28 6e ff fc |....(n..|-T..(n..|
|00005cb0| 2d 6c 00 10 ff ec 2d 6c | 00 14 ff f0 28 6e 00 0a |-l....-l|....(n..|
|00005cc0| 2f 14 3e 2e ff e8 06 47 | 00 32 3f 07 3e 2e ff ea |/.>....G|.2?.>...|
|00005cd0| 06 47 00 32 3f 07 42 27 | a9 1b 28 6e 00 0a 2f 14 |.G.2?.B'|..(n../.|
|00005ce0| 1f 3c 00 01 a9 08 28 6e | ff fc 28 6c 00 72 28 54 |.<....(n|..(l.r(T|
|00005cf0| 2d 6c 00 02 ff f4 2d 6c | 00 06 ff f8 28 6e 00 0a |-l....-l|....(n..|
|00005d00| 2f 14 42 27 a9 08 3e 2e | ff fa 9e 6e ff f6 9e 6e |/.B'..>.|...n...n|
|00005d10| ff f2 de 6e ff ee 48 c7 | 8f fc 00 02 3d 47 ff dc |...n..H.|....=G..|
|00005d20| 3e 2e ff f8 9e 6e ff f4 | 9e 6e ff f0 de 6e ff ec |>....n..|.n...n..|
|00005d30| 3d 47 ff de 0c 6e 00 13 | ff de 6f 00 00 0c 3d 7c |=G...n..|..o...=||
|00005d40| 00 13 ff de 4e fa 00 10 | 3e 2e ff de 48 c7 8f fc |....N...|>...H...|
|00005d50| 00 02 3d 47 ff de 3e 2e | ff ea 9e 6e ff e6 9e 6e |..=G..>.|...n...n|
|00005d60| ff fa de 6e ff f6 48 c7 | 8f fc 00 02 3d 47 ff e2 |...n..H.|....=G..|
|00005d70| 3e 2e ff e4 06 47 00 14 | 3d 47 ff e4 3e 2e ff e8 |>....G..|=G..>...|
|00005d80| 9e 6e ff e4 9e 6e ff f8 | de 6e ff f4 48 c7 8f fc |.n...n..|.n..H...|
|00005d90| 00 02 06 47 00 14 3d 47 | ff e0 28 6e 00 0a 2f 14 |...G..=G|..(n../.|
|00005da0| 3e 2e ff dc de 6e ff e2 | 3f 07 3e 2e ff de de 6e |>....n..|?.>....n|
|00005db0| ff e0 3f 07 42 27 a9 1b | 4a 2e 00 08 67 00 00 0a |..?.B'..|J...g...|
|00005dc0| 28 6e 00 0a 2f 14 a9 15 | 4c df 10 80 4e 5e 20 5f |(n../...|L...N^ _|
|00005dd0| 5c 8f 4e d0 4e 56 ff fa | 48 e7 01 00 59 8f 3f 3c |\.N.NV..|H...Y.?<|
|00005de0| 0b b8 42 a7 2f 3c ff ff | ff ff a9 7c 2e 1f 2d 47 |..B./<..|...|..-G|
|00005df0| ff fc 48 6e ff fc 1f 3c | 00 01 4e ba fe 94 42 a7 |..Hn...<|..N...B.|
|00005e00| 48 6e ff fa a9 91 2f 2e | ff fc a9 83 4c df 00 80 |Hn..../.|....L...|
|00005e10| 4e 5e 4e 75 4e 56 ff f6 | 48 e7 03 08 3e 2e 00 08 |N^NuNV..|H...>...|
|00005e20| 48 c7 de ae 00 0a 2d 47 | ff f8 2d 6e ff f8 ff fc |H.....-G|..-n....|
|00005e30| 28 6e ff fc 42 47 1e 14 | 3d 47 ff f6 3e 2e ff f6 |(n..BG..|=G..>...|
|00005e40| 6b 18 0c 47 00 ff 6e 12 | 49 ed ff ea 3c 07 e6 4e |k..G..n.|I...<..N|
|00005e50| 44 46 0f 34 60 ff 0a 3c | 00 04 66 00 00 0c 1d 7c |DF.4`..<|..f....||
|00005e60| 00 01 00 0e 4e fa 00 06 | 42 2e 00 0e 4c df 10 c0 |....N...|B...L...|
|00005e70| 4e 5e 20 5f 5c 8f 4e d0 | 4e 56 ff f2 48 e7 07 08 |N^ _\.N.|NV..H...|
|00005e80| 4a 6d ff 56 67 00 00 5e | 3e 3c 00 01 3d 47 ff f4 |Jm.Vg..^|><..=G..|
|00005e90| be 6d ff 56 6e 00 00 4e | 3d 6d ff 56 ff f2 3c 07 |.m.Vn..N|=m.V..<.|
|00005ea0| 53 46 e5 4e 49 ed ff 58 | 28 74 60 00 28 54 2d 6c |SF.NI..X|(t`.(T-l|
|00005eb0| 00 02 ff f8 2d 6c 00 06 | ff fc 3c 07 53 46 cd fc |....-l..|..<.SF..|
|00005ec0| 00 06 49 ed ff 80 3a 2e | ff fc 9a 6e ff f8 39 85 |..I...:.|...n..9.|
|00005ed0| 60 04 be 6e ff f2 6c 00 | 00 0c 52 47 3d 47 ff f4 |`..n..l.|..RG=G..|
|00005ee0| 4e fa ff bc 4c df 10 e0 | 4e 5e 4e 75 4e 56 ff f0 |N...L...|N^NuNV..|
|00005ef0| 48 e7 0f 18 4a 6d ff 56 | 67 00 00 b0 3e 3c 00 01 |H...Jm.V|g...><..|
|00005f00| 3d 47 ff fa be 6d ff 56 | 6e 00 00 a0 3d 6d ff 56 |=G...m.V|n...=m.V|
|00005f10| ff f0 28 6d ff 4a 28 54 | 3c 2c 00 0e 9c 6c 00 0a |..(m.J(T|<,...l..|
|00005f20| 3d 46 ff fe 3c 07 53 46 | e5 4e 49 ed ff 58 28 74 |=F..<.SF|.NI..X(t|
|00005f30| 60 00 28 54 2d 6c 00 02 | ff f2 2d 6c 00 06 ff f6 |`.(T-l..|..-l....|
|00005f40| 3c 2e ff f8 9c 6e ff f4 | 3d 46 ff fc 3c 07 53 46 |<....n..|=F..<.SF|
|00005f50| cd fc 00 06 49 ed ff 80 | 26 6d ff 4a 26 53 3a 2e |....I...|&m.J&S:.|
|00005f60| ff fe 9a 6e ff fc 48 c5 | 8b fc 00 02 da 6b 00 0a |...n..H.|.....k..|
|00005f70| 39 85 60 00 3c 07 53 46 | cd fc 00 06 49 ed ff 80 |9.`.<.SF|....I...|
|00005f80| 3a 07 53 45 cb fc 00 06 | 47 ed ff 80 38 33 50 00 |:.SE....|G...83P.|
|00005f90| d8 6e ff fc 39 84 60 02 | be 6e ff f0 6c 00 00 0c |.n..9.`.|.n..l...|
|00005fa0| 52 47 3d 47 ff fa 4e fa | ff 6a 4c df 18 f0 4e 5e |RG=G..N.|.jL...N^|
|00005fb0| 4e 75 4e 56 ff e2 48 e7 | 03 18 4a 6d ff 56 67 00 |NuNV..H.|..Jm.Vg.|
|00005fc0| 01 b2 4a 2e 00 08 67 00 | 00 0e 28 6d ff 4a 28 54 |..J...g.|..(m.J(T|
|00005fd0| 48 6c 00 08 a8 7b 2f 2d | ff 4a 4e ba 1d 6c 28 6d |Hl...{/-|.JN..l(m|
|00005fe0| ff 4a 28 54 55 8f 2f 2d | ff 4e a9 60 3e 1f 3d 47 |.J(TU./-|.N.`>.=G|
|00005ff0| ff fa 55 8f 3e 2c 00 0c | 9e 6c 00 08 48 c7 8f ec |..U.>,..|.l..H...|
|00006000| 00 18 de 6e ff fa 53 47 | 3f 07 3f 2c 00 5e 4e ba |...n..SG|?.?,.^N.|
|00006010| fc 52 3e 1f 3d 47 ff fc | 2d 7c ff ff ff ff ff f2 |.R>.=G..|-|......|
|00006020| 3d 7c ff ff ff fe 42 6e | ff f6 3e 2e ff f6 52 47 |=|....Bn|..>...RG|
|00006030| 3d 47 ff f6 2e 2e ff f2 | 52 87 2d 47 ff f2 59 8f |=G......|R.-G..Y.|
|00006040| 26 6d ff 4a 26 53 2f 2b | 00 3e 2f 2e ff f2 47 ed |&m.J&S/+|.>/...G.|
|00006050| ff bc 2e 0b 52 87 2f 07 | 2f 3c 00 00 00 01 42 a7 |....R./.|/<....B.|
|00006060| 2f 3c 00 00 00 01 a9 e0 | 2e 1f 2d 47 ff f2 3e 2e |/<......|..-G..>.|
|00006070| ff fe 52 47 3d 47 ff fe | 3e 2e ff fe de 47 47 ec |..RG=G..|>....GG.|
|00006080| 00 60 3c 33 70 00 48 c6 | bc ae ff f2 6d 00 ff e0 |.`<3p.H.|....m...|
|00006090| 3e 2e ff f6 53 47 e5 4f | 47 ed ff 58 2f 33 70 00 |>...SG.O|G..X/3p.|
|000060a0| 4e ba 1c a6 3e 2e ff fe | 9e 6e ff fa cf ec 00 18 |N...>...|.n......|
|000060b0| 3d 47 ff f8 48 6e ff e2 | 3e 2e ff f6 53 47 cf fc |=G..Hn..|>...SG..|
|000060c0| 00 06 47 ed ff 80 3f 33 | 70 00 3f 2e ff f8 3e 2e |..G...?3|p.?...>.|
|000060d0| ff f6 53 47 cf fc 00 06 | 47 ed ff 80 3f 33 70 02 |..SG....|G...?3p.|
|000060e0| 3e 2e ff f6 53 47 cf fc | 00 06 47 ed ff 80 3c 2e |>...SG..|..G...<.|
|000060f0| ff f8 dc 73 70 04 3f 06 | a8 a7 55 8f 48 6e ff e2 |...sp.?.|..U.Hn..|
|00006100| 48 6c 00 08 48 6e ff ea | a8 aa 1e 1f 67 00 00 18 |Hl..Hn..|....g...|
|00006110| 3e 2e ff f6 53 47 e5 4f | 47 ed ff 58 2f 33 70 00 |>...SG.O|G..X/3p.|
|00006120| 48 6e ff e2 a8 f6 3e 2e | ff f6 53 47 e5 4f 47 ed |Hn....>.|..SG.OG.|
|00006130| ff 58 2f 33 70 00 4e ba | 1c 1a 3e 2e ff f6 be 6d |.X/3p.N.|..>....m|
|00006140| ff 56 57 c7 44 07 3c 2e | ff fe bc 6e ff fc 5c c6 |.VW.D.<.|...n..\.|
|00006150| 44 06 8c 07 67 00 fe d4 | 2f 2d ff 4a 4e ba 1b f4 |D...g...|/-.JN...|
|00006160| 4a 2e 00 08 67 00 00 0c | 28 6d ff 2e 48 6c 00 10 |J...g...|(m..Hl..|
|00006170| a8 7b 4c df 18 c0 4e 5e | 20 5f 54 8f 4e d0 4e 56 |.{L...N^| _T.N.NV|
|00006180| ff fc 48 e7 01 08 28 6d | ff 4a 28 54 3e 2c 00 0c |..H...(m|.J(T>,..|
|00006190| 9e 6c 00 08 48 c7 8f ec | 00 18 3d 47 ff fe 3e 2c |.l..H...|..=G..>,|
|000061a0| 00 5e 9e 6e ff fe 3d 47 | ff fc 0c 6e 00 00 ff fc |.^.n..=G|...n....|
|000061b0| 6c 00 00 14 42 6e ff fc | 2f 2d ff 4e 3f 3c 00 ff |l...Bn..|/-.N?<..|
|000061c0| a9 5d 4e fa 00 0a 2f 2d | ff 4e 42 67 a9 5d 2f 2d |.]N.../-|.NBg.]/-|
|000061d0| ff 4e 3f 2e ff fc a9 65 | 4c df 10 80 4e 5e 4e 75 |.N?....e|L...N^Nu|
|000061e0| 4e 56 00 00 48 e7 01 08 | 2f 2d ff 4e a9 58 28 6d |NV..H...|/-.N.X(m|
|000061f0| ff 2e 2f 2d ff 4e 3e 2c | 00 16 04 47 00 0f 3f 07 |../-.N>,|...G..?.|
|00006200| 3e 2c 00 10 53 47 3f 07 | a9 59 2f 2d ff 4e 3f 3c |>,..SG?.|.Y/-.N?<|
|00006210| 00 10 3e 2c 00 14 9e 6c | 00 10 04 47 00 0d 3f 07 |..>,...l|...G..?.|
|00006220| a9 5c 2f 2d ff 4e a9 57 | 28 6d ff 4e 28 54 48 6c |.\/-.N.W|(m.N(THl|
|00006230| 00 08 a9 2a 4c df 10 80 | 4e 5e 4e 75 4e 56 ff f6 |...*L...|N^NuNV..|
|00006240| 48 e7 03 08 2f 2d ff 4a | 4e ba 1a fe 28 6d ff 4a |H.../-.J|N...(m.J|
|00006250| 28 54 3e 2c 00 08 9e 54 | 55 8f 2f 2d ff 4e a9 60 |(T>,...T|U./-.N.`|
|00006260| 3c 1f cd ec 00 18 9e 46 | 3d 47 ff fe 42 67 3f 2e |<......F|=G..Bg?.|
|00006270| ff fe 2f 2d ff 4a a9 dd | 0c 6d 00 00 ff 56 6f 00 |../-.J..|.m...Vo.|
|00006280| 00 72 28 6d ff 4a 28 54 | 0c 6e 00 00 ff fe 6f 00 |.r(m.J(T|.n....o.|
|00006290| 00 30 48 6e ff f6 3f 2c | 00 0a 3f 2c 00 08 3f 2c |.0Hn..?,|..?,..?,|
|000062a0| 00 0e 55 8f 3e 2c 00 08 | de 6e ff fe 3f 07 3f 2c |..U.>,..|.n..?.?,|
|000062b0| 00 0c 4e ba f9 ae 3e 1f | 3f 07 a8 a7 4e fa 00 1e |..N...>.|?...N...|
|000062c0| 48 6e ff f6 3f 2c 00 0a | 3e 2c 00 0c de 6e ff fe |Hn..?,..|>,...n..|
|000062d0| 3f 07 3f 2c 00 0e 3f 2c | 00 0c a8 a7 48 6e ff f6 |?.?,..?,|....Hn..|
|000062e0| a8 7b 42 27 4e ba fc cc | 28 6d ff 2e 48 6c 00 10 |.{B'N...|(m..Hl..|
|000062f0| a8 7b 2f 2d ff 4a 4e ba | 1a 5a 4c df 10 c0 4e 5e |.{/-.JN.|.ZL...N^|
|00006300| 4e 75 4e 56 ff fc 48 e7 | 03 18 2f 2d ff 4a 4e ba |NuNV..H.|../-.JN.|
|00006310| 1a 38 28 6d ff 4a 28 54 | 42 6e ff fc 3e 2e ff fc |.8(m.J(T|Bn..>...|
|00006320| 52 47 de 47 47 ec 00 60 | 3c 33 70 00 bc 6e 00 08 |RG.GG..`|<3p..n..|
|00006330| 6e 00 00 10 3e 2e ff fc | 52 47 3d 47 ff fc 4e fa |n...>...|RG=G..N.|
|00006340| ff dc 2f 2d ff 4e 3f 2e | ff fc a9 63 4e ba fe ee |../-.N?.|...cN...|
|00006350| 2f 2d ff 4a 4e ba 19 fc | 4c df 18 c0 4e 5e 20 5f |/-.JN...|L...N^ _|
|00006360| 54 8f 4e d0 4e 56 ff fa | 48 e7 01 18 28 6d ff 52 |T.N.NV..|H...(m.R|
|00006370| 28 54 2f 0c a8 51 2f 2d | ff 4a 4e ba 19 cc 28 6d |(T/..Q/-|.JN...(m|
|00006380| ff 4a 28 54 55 8f 2f 2d | ff 4e a9 60 3e 1f 3d 47 |.J(TU./-|.N.`>.=G|
|00006390| ff fa 3e 2e ff fa de 47 | 47 ec 00 60 3d 73 70 00 |..>....G|G..`=sp.|
|000063a0| ff fc 26 6d ff 2e 29 6b | 00 10 00 08 29 6b 00 14 |..&m..)k|....)k..|
|000063b0| 00 0c 3e 2c 00 0e 04 47 | 00 0f 39 47 00 0e 3e 2c |..>,...G|..9G..>,|
|000063c0| 00 0c 04 47 00 0f 39 47 | 00 0c 3e 2c 00 0c 48 c7 |...G..9G|..>,..H.|
|000063d0| 8f ec 00 18 cf ec 00 18 | 39 47 00 0c 28 ac 00 08 |........|9G..(...|
|000063e0| 29 6c 00 0c 00 04 2f 0c | 3f 3c 00 04 3f 3c 00 04 |)l..../.|?<..?<..|
|000063f0| a8 a9 2f 2d ff 4a a9 d0 | 4e ba fd 84 4e ba fa ee |../-.J..|N...N...|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.